Skip to content

Commit

Permalink
test(jms): increase timeout of ProducerSystemTest from 10s to 20s to …
Browse files Browse the repository at this point in the history
…fix flaky test
  • Loading branch information
sam0r040 committed Sep 27, 2024
1 parent 75b8e07 commit a4c8b13
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit a4c8b13

Please sign in to comment.