Fix timing issue in test for STOMP Server
https://build.spring.io/browse/INT-MASTER-733 The Netty tries to load `netty-transport-native-epoll` too long, more then 10 seconds we expect in the `AbstractStompSessionManager`, therefore we end up having `StompConnectionFailedEvent` as a first event in the queue channel for STOMP events. * Increase connection wait timeout to `30 secs`, like it is in many other places in Spring * Provide some Java 8 style refactoring for the `AbstractStompSessionManager` * Fix `StompServerIntegrationTests` to poll events from queue until `StompSessionConnectedEvent` any way * Upgrade to Gradle 4.0 and `spring-io-plugin-0.0.8` * Bump `org.sonarqube` version to `2.5` - `2.1` isn't compatible with Gradle 4.0
This commit is contained in:
6
gradlew
vendored
6
gradlew
vendored
@@ -33,11 +33,11 @@ DEFAULT_JVM_OPTS=""
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn ( ) {
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die ( ) {
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
@@ -155,7 +155,7 @@ if $cygwin ; then
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save ( ) {
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user