@@ -67,7 +67,7 @@ public void cleanup() {
6767 server .dispose ();
6868 }
6969
70- @ Test (timeout = 5_000L )
70+ @ Test (timeout = 15_000L )
7171 public void testCompleteWithoutNext () {
7272 handler =
7373 new AbstractRSocket () {
@@ -83,7 +83,7 @@ public Flux<Payload> requestStream(Payload payload) {
8383 assertFalse (hasElements );
8484 }
8585
86- @ Test (timeout = 5_000L )
86+ @ Test (timeout = 15_000L )
8787 public void testSingleStream () {
8888 handler =
8989 new AbstractRSocket () {
@@ -100,7 +100,7 @@ public Flux<Payload> requestStream(Payload payload) {
100100 assertEquals ("RESPONSE" , result .getDataUtf8 ());
101101 }
102102
103- @ Test (timeout = 5_000L )
103+ @ Test (timeout = 15_000L )
104104 public void testZeroPayload () {
105105 handler =
106106 new AbstractRSocket () {
@@ -117,7 +117,7 @@ public Flux<Payload> requestStream(Payload payload) {
117117 assertEquals ("" , result .getDataUtf8 ());
118118 }
119119
120- @ Test (timeout = 5_000L )
120+ @ Test (timeout = 15_000L )
121121 public void testRequestResponseErrors () {
122122 handler =
123123 new AbstractRSocket () {
@@ -151,7 +151,7 @@ public Mono<Payload> requestResponse(Payload payload) {
151151 assertEquals ("SUCCESS" , response2 .getDataUtf8 ());
152152 }
153153
154- @ Test (timeout = 5_000L )
154+ @ Test (timeout = 35_000L )
155155 public void testTwoConcurrentStreams () throws InterruptedException {
156156 ConcurrentHashMap <String , UnicastProcessor <Payload >> map = new ConcurrentHashMap <>();
157157 UnicastProcessor <Payload > processor1 = UnicastProcessor .create ();
0 commit comments