This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang 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 f074547fe0d Fix ci (#20946)
f074547fe0d is described below

commit f074547fe0daed57b11f05fa33e8f609eea4f272
Author: zhaojinchao <[email protected]>
AuthorDate: Tue Sep 13 11:09:59 2022 +0800

    Fix ci (#20946)
---
 .../shardingsphere/mode/metadata/MetaDataContextsFactoryTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/shardingsphere-mode/shardingsphere-mode-core/src/test/java/org/apache/shardingsphere/mode/metadata/MetaDataContextsFactoryTest.java
 
b/shardingsphere-mode/shardingsphere-mode-core/src/test/java/org/apache/shardingsphere/mode/metadata/MetaDataContextsFactoryTest.java
index d56ecfccc27..3c6635ddb0d 100644
--- 
a/shardingsphere-mode/shardingsphere-mode-core/src/test/java/org/apache/shardingsphere/mode/metadata/MetaDataContextsFactoryTest.java
+++ 
b/shardingsphere-mode/shardingsphere-mode-core/src/test/java/org/apache/shardingsphere/mode/metadata/MetaDataContextsFactoryTest.java
@@ -117,7 +117,7 @@ public final class MetaDataContextsFactoryTest {
     
     private void mockGlobalRulesBuilder() {
         mockedGlobalRulesBuilder = mockStatic(GlobalRulesBuilder.class);
-        mockedGlobalRulesBuilder.when(() -> 
GlobalRulesBuilder.buildRules(anyCollection(), anyMap(), 
any(InstanceContext.class))).thenReturn(shardingSphereRules);
+        mockedGlobalRulesBuilder.when(() -> 
GlobalRulesBuilder.buildRules(anyCollection(), anyMap(), 
any(InstanceContext.class), any())).thenReturn(shardingSphereRules);
     }
     
     private DatabaseRulePersistService mockDatabaseRulePersistService() {

Reply via email to