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 4009ccc9643 Refactor PropertiesChangedHandlerTest (#34543)
4009ccc9643 is described below
commit 4009ccc9643a8b4776c2f1d98acdd7b2c55d6766
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Jan 31 22:07:28 2025 +0800
Refactor PropertiesChangedHandlerTest (#34543)
---
.../dispatch/handler/global/type/PropertiesChangedHandlerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandlerTest.java
b/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandlerTest.java
index edf34c6a91a..faee4d0e211 100644
---
a/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandlerTest.java
+++
b/mode/type/cluster/core/src/test/java/org/apache/shardingsphere/mode/manager/cluster/dispatch/handler/global/type/PropertiesChangedHandlerTest.java
@@ -53,7 +53,7 @@ class PropertiesChangedHandlerTest {
@Test
void assertHandleWithInvalidEventKey() {
handler.handle(contextManager, new DataChangedEvent("/props/xxx",
"key=value", Type.ADDED));
- verify(contextManager, times(0)).getPersistServiceFacade();
+
verify(contextManager.getPersistServiceFacade().getMetaDataPersistFacade().getPropsService(),
times(0)).load();
}
@Test