Skip to content

Commit 5d0815b

Browse files
committed
Allow RSocketMessageHandlerITests to timeout
Fixes gh-7415
1 parent 6296e6e commit 5d0815b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ private synchronized void doNotifyAll() {
298298
}
299299

300300
private synchronized List<String> awaitPayloads() throws InterruptedException {
301-
this.wait();
301+
this.wait(TimeUnit.SECONDS.toMillis(1));
302302
return this.payloads;
303303
}
304304

0 commit comments

Comments
 (0)