huangdx0726 commented on PR #19949:
URL: https://github.com/apache/shardingsphere/pull/19949#issuecomment-1209096530
```java
protected void addTargetResource() {
String addTargetResource =
commonSQLCommand.getTargetAddResourceTemplate().replace("${user}", username)
.replace("${password}", password)
.replace("${ds2}", getActualJdbcUrlTemplate(DS_2))
.replace("${ds3}", getActualJdbcUrlTemplate(DS_3))
.replace("${ds4}", getActualJdbcUrlTemplate(DS_4));
executeWithLog(addTargetResource);
List<Map<String, Object>> resources = queryForListWithLog("SHOW
DATABASE RESOURCES from sharding_db");
assertThat(resources.size(), is(5)); // faild line ,actul is 3
assertBeforeApplyScalingMetadataCorrectly();
}
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]