Skip to content

Commit 8d7b5f6

Browse files
committed
Increase some timeouts in the ReactiveStreamsTests
1 parent 0a69050 commit 8d7b5f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spring-integration-core/src/test/java/org/springframework/integration/dsl/reactivestreams/ReactiveStreamsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ void testPollableReactiveFlow() throws Exception {
152152
.take(7)
153153
.map(Message::getPayload)
154154
.collectList()
155-
.block(Duration.ofSeconds(10))
155+
.block(Duration.ofSeconds(20))
156156
);
157157

158158
this.inputChannel.send(new GenericMessage<>("6,7,8,9,10"));
159159

160160
assertThat(latch.await(20, TimeUnit.SECONDS)).isTrue();
161-
List<Integer> integers = future.get(20, TimeUnit.SECONDS);
161+
List<Integer> integers = future.get(30, TimeUnit.SECONDS);
162162

163163
assertThat(integers).isNotNull();
164164
assertThat(integers.size()).isEqualTo(7);

0 commit comments

Comments
 (0)