This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 10835f7d591 Refactor SwitchingTransactionRuleTestCase (#34256)
10835f7d591 is described below
commit 10835f7d591609f56df5accfb4dcac741f1c79b7
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Jan 5 20:13:51 2025 +0800
Refactor SwitchingTransactionRuleTestCase (#34256)
---
.../cases/alterresource/SwitchingTransactionRuleTestCase.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/test/e2e/operation/transaction/src/test/java/org/apache/shardingsphere/test/e2e/transaction/cases/alterresource/SwitchingTransactionRuleTestCase.java
b/test/e2e/operation/transaction/src/test/java/org/apache/shardingsphere/test/e2e/transaction/cases/alterresource/SwitchingTransactionRuleTestCase.java
index cb4c9881a4b..a4fc1af12ee 100644
---
a/test/e2e/operation/transaction/src/test/java/org/apache/shardingsphere/test/e2e/transaction/cases/alterresource/SwitchingTransactionRuleTestCase.java
+++
b/test/e2e/operation/transaction/src/test/java/org/apache/shardingsphere/test/e2e/transaction/cases/alterresource/SwitchingTransactionRuleTestCase.java
@@ -107,6 +107,7 @@ public final class SwitchingTransactionRuleTestCase extends
BaseTransactionTestC
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);