From 5d0815bc769f00d9723a271924e2f1b9cbb7977f Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 9 Sep 2019 15:33:36 -0500 Subject: [PATCH] Allow RSocketMessageHandlerITests to timeout Fixes gh-7415 --- .../config/annotation/rsocket/RSocketMessageHandlerITests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerITests.java b/config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerITests.java index 1c8d78887a..c6d3d51164 100644 --- a/config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerITests.java +++ b/config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerITests.java @@ -298,7 +298,7 @@ public class RSocketMessageHandlerITests { } private synchronized List awaitPayloads() throws InterruptedException { - this.wait(); + this.wait(TimeUnit.SECONDS.toMillis(1)); return this.payloads; }