소스 검색

Allow RSocketMessageHandlerITests to timeout

Fixes gh-7415
Rob Winch 6 년 전
부모
커밋
5d0815bc76
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerITests.java

+ 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;
 		}