wgy8283335 commented on a change in pull request #4109: persist SchemaNames for
getChildren.
URL:
https://github.com/apache/incubator-shardingsphere/pull/4109#discussion_r373763763
##########
File path:
sharding-orchestration/sharding-orchestration-core/src/test/java/org/apache/shardingsphere/orchestration/internal/registry/config/service/ConfigurationServiceTest.java
##########
@@ -374,7 +373,7 @@ public void assertLoadProperties() {
@Test
public void assertGetAllShardingSchemaNames() {
-
when(regCenter.getChildrenKeys("/test/config/schema")).thenReturn(Arrays.asList("sharding_db",
"masterslave_db"));
+
when(regCenter.get("/test/config/schema")).thenReturn("sharding_db,masterslave_db");
Review comment:
Instead of using mock, is there any possible solution to start a nacos
server and put the value into it?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services