This is an automated email from the ASF dual-hosted git repository.
zhaojinchao 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 138307ea8a1 Rename method name of
DatabaseDiscoverySpringBootStarterTest (#19917)
138307ea8a1 is described below
commit 138307ea8a1cf60d0e3d3e770a9159abe6c1c028
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Aug 6 13:21:35 2022 +0800
Rename method name of DatabaseDiscoverySpringBootStarterTest (#19917)
---
.../dbdiscovery/spring/boot/DatabaseDiscoverySpringBootStarterTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-spring/shardingsphere-db-discovery-spring-boot-starter/src/test/java/org/apache/shardingsphere/dbdiscovery/spring/boot/DatabaseDiscoverySpringBootStarterTest.java
b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-spring/shardingsphere-db-discovery-spring-boot-starter/src/test/java/org/apache/shardingsphere/dbdiscovery/spring/boot/DatabaseDiscoverySpringBootStarterTest.java
index 2b4129b439a..a92954ef113 100644
---
a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-spring/shardingsphere-db-discovery-spring-boot-starter/src/test/java/org/apache/shardingsphere/dbdiscovery/spring/boot/DatabaseDiscoverySpringBootStarterTest.java
+++
b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-spring/shardingsphere-db-discovery-spring-boot-starter/src/test/java/org/apache/shardingsphere/dbdiscovery/spring/boot/DatabaseDiscoverySpringBootStarterTest.java
@@ -43,7 +43,7 @@ public class DatabaseDiscoverySpringBootStarterTest {
private AlgorithmProvidedDatabaseDiscoveryRuleConfiguration config;
@Test
- public void assertHARuleConfiguration() {
+ public void assertDatabaseDiscoveryRuleConfiguration() {
assertThat(config.getDataSources().size(), is(1));
assertTrue(config.getDataSources().stream().findFirst().isPresent());
DatabaseDiscoveryDataSourceRuleConfiguration dataSourceRuleConfig =
config.getDataSources().stream().findFirst().get();