Skip to content

Commit

Permalink
Refactor SwitchingTransactionRuleTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Jan 5, 2025
1 parent 34ddb75 commit 587a6a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public void run() {
alterLocalTransactionRule();
Awaitility.await().atMost(20L, TimeUnit.SECONDS).pollInterval(19L, TimeUnit.SECONDS).until(() -> true);
alterXaTransactionRule("Narayana");
Awaitility.await().atMost(20L, TimeUnit.SECONDS).pollInterval(19L, TimeUnit.SECONDS).until(() -> true);
if (SWITCH_COUNT.incrementAndGet() >= MAX_SWITCH_COUNT) {
alterLocalTransactionRule();
IS_FINISHED.set(true);
Expand Down

0 comments on commit 587a6a4

Please sign in to comment.