Skip to content

Commit f77f120

Browse files
committed
Update timeout for tests
1 parent 73c0fbd commit f77f120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter-5/chapter-5-spring-kafka-streams/src/test/java/org/acme/Chapter5SpringKafkaStreamsApplicationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import org.springframework.test.web.reactive.server.WebTestClient;
1616

1717
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
18-
@AutoConfigureWebTestClient(timeout = "PT5M")
18+
@AutoConfigureWebTestClient(timeout = "PT3M")
1919
class Chapter5SpringKafkaStreamsApplicationTests extends DockerComposeBase {
2020
@Autowired
2121
WebTestClient webTestClient;
@@ -32,7 +32,7 @@ void sseWorks() {
3232
.getResponseBody()
3333
.take(3)
3434
.collectList()
35-
.block(Duration.ofMinutes(5));
35+
.block(Duration.ofMinutes(3));
3636

3737
assertThat(emittedPrices)
3838
.isNotNull()

0 commit comments

Comments
 (0)