Browse Source

Allow RSocketMessageHandlerITests to timeout

Fixes gh-7415
Rob Winch 6 years ago
parent
commit
5d0815bc76

+ 1 - 1
config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerITests.java

@@ -298,7 +298,7 @@ public class RSocketMessageHandlerITests {
 		}
 
 		private synchronized List<String> awaitPayloads() throws InterruptedException {
-			this.wait();
+			this.wait(TimeUnit.SECONDS.toMillis(1));
 			return this.payloads;
 		}