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 137f6ce7792 Refactor YamlRuleRepositoryTupleSwapperEngineIT (#34833)
137f6ce7792 is described below

commit 137f6ce77924443ee0fe526e4ad934b1db639113
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Mar 1 23:15:58 2025 +0800

    Refactor YamlRuleRepositoryTupleSwapperEngineIT (#34833)
---
 .../test/it/yaml/YamlRuleRepositoryTupleSwapperEngineIT.java            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/YamlRuleRepositoryTupleSwapperEngineIT.java
 
b/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/YamlRuleRepositoryTupleSwapperEngineIT.java
index 5679f4e52e2..bd3abdc3ac4 100644
--- 
a/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/YamlRuleRepositoryTupleSwapperEngineIT.java
+++ 
b/test/it/yaml/src/main/java/org/apache/shardingsphere/test/it/yaml/YamlRuleRepositoryTupleSwapperEngineIT.java
@@ -105,7 +105,7 @@ public abstract class 
YamlRuleRepositoryTupleSwapperEngineIT {
     }
     
     private String getRepositoryTupleKey(final boolean isGlobalRule, final 
String ruleType, final RuleRepositoryTuple tuple) {
-        return isGlobalRule ? String.format("/rules/%s/versions/0", ruleType) 
: String.format("/metadata/foo_db/rules/%s/%s/versions/0", ruleType, 
tuple.getKey());
+        return isGlobalRule ? String.format("/rules/%s", ruleType) : 
String.format("/metadata/foo_db/rules/%s/%s", ruleType, tuple.getKey());
     }
     
     private String getExpectedYamlContent() throws IOException {

Reply via email to