Skip to content

Commit

Permalink
test(qa): wait until message is published before restarting the broker
Browse files Browse the repository at this point in the history
The test was flaky - it sometime failed in 'correlate message after restart' while waiting for the instance to be completed. It is not clear why exactly the test fails, but a probable reason is that the message was not published before the broker was restarted.

(cherry picked from commit fcef5b6)
  • Loading branch information
deepthidevaki authored and github-actions[bot] committed Jul 26, 2022
1 parent d349d79 commit a863a22
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public static Object[][] actions() {
.newPublishMessageCommand()
.messageName("msg")
.correlationKey("123")
.send(),
.send()
.join(),
(BiConsumer<ClusteringRule, GrpcClientRule>)
(clusteringRule, clientRule) -> {
final var processDefinitionKey =
Expand Down

0 comments on commit a863a22

Please sign in to comment.