@@ -834,13 +834,9 @@ public void testCountDatabases() throws SQLException {
834834 statement .execute ("create database db2" );
835835
836836 TestUtils .assertResultSetEqual (
837- statement .executeQuery ("count databases" ),
838- "count," ,
839- Collections .singleton ("3," ));
837+ statement .executeQuery ("count databases" ), "count," , Collections .singleton ("3," ));
840838 TestUtils .assertResultSetEqual (
841- statement .executeQuery ("count database" ),
842- "count," ,
843- Collections .singleton ("3," ));
839+ statement .executeQuery ("count database" ), "count," , Collections .singleton ("3," ));
844840 TestUtils .assertResultSetEqual (
845841 statement .executeQuery ("select count(*) from information_schema.databases" ),
846842 "_col0," ,
@@ -862,13 +858,9 @@ public void testDBAuth() throws SQLException {
862858 EnvFactory .getEnv ().getConnection ("test" , "password123456" , BaseEnv .TABLE_SQL_DIALECT );
863859 final Statement userStmt = userCon .createStatement ()) {
864860 TestUtils .assertResultSetEqual (
865- userStmt .executeQuery ("count databases" ),
866- "count," ,
867- Collections .singleton ("1," ));
861+ userStmt .executeQuery ("count databases" ), "count," , Collections .singleton ("1," ));
868862 TestUtils .assertResultSetEqual (
869- userStmt .executeQuery ("count database" ),
870- "count," ,
871- Collections .singleton ("1," ));
863+ userStmt .executeQuery ("count database" ), "count," , Collections .singleton ("1," ));
872864 TestUtils .assertResultSetEqual (
873865 userStmt .executeQuery ("show databases" ),
874866 "Database,TTL(ms),SchemaReplicationFactor,DataReplicationFactor,TimePartitionInterval," ,
@@ -901,9 +893,7 @@ public void testDBAuth() throws SQLException {
901893 EnvFactory .getEnv ().getConnection ("test" , "password123456" , BaseEnv .TABLE_SQL_DIALECT );
902894 final Statement userStmt = userCon .createStatement ()) {
903895 TestUtils .assertResultSetEqual (
904- userStmt .executeQuery ("count databases" ),
905- "count," ,
906- Collections .singleton ("2," ));
896+ userStmt .executeQuery ("count databases" ), "count," , Collections .singleton ("2," ));
907897 try (final ResultSet resultSet = userStmt .executeQuery ("SHOW DATABASES" )) {
908898 final ResultSetMetaData metaData = resultSet .getMetaData ();
909899 assertEquals (showDBColumnHeaders .size (), metaData .getColumnCount ());
0 commit comments