Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
strongduanmu committed Mar 19, 2024
1 parent 96cb34d commit ecd5045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void assertValueOfSchemaPathSuccess() {
Collection<String> actualInformationSchema = SystemSchemaManager.getTables("MySQL", "information_schema");
assertThat(actualInformationSchema.size(), is(62));
Collection<String> actualMySQLSchema = SystemSchemaManager.getTables("MySQL", "mysql");
assertThat(actualMySQLSchema.size(), is(31));
assertThat(actualMySQLSchema.size(), is(32));
Collection<String> actualPerformanceSchema = SystemSchemaManager.getTables("MySQL", "performance_schema");
assertThat(actualPerformanceSchema.size(), is(87));
Collection<String> actualSysSchema = SystemSchemaManager.getTables("MySQL", "sys");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void assertBuildForMySQL() {
Map<String, ShardingSphereSchema> actualMySQLSchema = SystemSchemaBuilder.build("mysql", databaseType, configProps);
assertThat(actualMySQLSchema.size(), is(1));
assertTrue(actualMySQLSchema.containsKey("mysql"));
assertThat(actualMySQLSchema.get("mysql").getTables().size(), is(31));
assertThat(actualMySQLSchema.get("mysql").getTables().size(), is(32));
Map<String, ShardingSphereSchema> actualPerformanceSchema = SystemSchemaBuilder.build("performance_schema", databaseType, configProps);
assertThat(actualPerformanceSchema.size(), is(1));
assertTrue(actualPerformanceSchema.containsKey("performance_schema"));
Expand Down

0 comments on commit ecd5045

Please sign in to comment.