Skip to content

Commit

Permalink
test(qa): increase timeout
Browse files Browse the repository at this point in the history
The test fails because the topology is not updated when the message subscription command is sent. So it sent the command to the old leader. The command will be retried only after 10s. So we increase the request timeout in the test.

The topology will be eventually updated. If there is a bug in the topology listener and the leader is never updated, the test will fail even after the increased timeout.

(cherry picked from commit e1db654)
  • Loading branch information
deepthidevaki authored and github-actions[bot] committed Jul 28, 2022
1 parent d32e2b7 commit b81aca1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ public static Object[][] actions() {
.processDefinitionKey(processDefinitionKey)
.variables(Map.of("key", "123"))
.withResult()
// retry delay for message subscription commands is 10s. Set a higher timeout.
.requestTimeout(Duration.ofSeconds(20))
.send()
.join();
},
Expand Down

0 comments on commit b81aca1

Please sign in to comment.