From a4c8b13912f00c27e25f0933341eb830aba51f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20M=C3=BCller?= Date: Fri, 27 Sep 2024 13:30:34 +0200 Subject: [PATCH] test(jms): increase timeout of ProducerSystemTest from 10s to 20s to fix flaky test --- .../io/github/springwolf/examples/jms/ProducerSystemTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/springwolf-examples/springwolf-jms-example/src/test/java/io/github/springwolf/examples/jms/ProducerSystemTest.java b/springwolf-examples/springwolf-jms-example/src/test/java/io/github/springwolf/examples/jms/ProducerSystemTest.java index 06bc6118b..bd22fc2be 100644 --- a/springwolf-examples/springwolf-jms-example/src/test/java/io/github/springwolf/examples/jms/ProducerSystemTest.java +++ b/springwolf-examples/springwolf-jms-example/src/test/java/io/github/springwolf/examples/jms/ProducerSystemTest.java @@ -65,6 +65,7 @@ void producerCanUseSpringwolfConfigurationToSendMessage() { springwolfJmsProducer.send("example-queue", Map.of(), payload); // then - verify(exampleConsumer, timeout(10000)).receiveExamplePayload(payload); + // Increased timeout once from 10s to 20s to fix flaky test in ci + verify(exampleConsumer, timeout(20000)).receiveExamplePayload(payload); } }