deniskuzZ commented on code in PR #6107:
URL: https://github.com/apache/hive/pull/6107#discussion_r2388320000


##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java:
##########
@@ -1225,10 +1225,11 @@ public void testDatabase() throws Throwable {
       assertEquals("location of the returned db is different from that of 
inserted db",
           warehouse.getDatabasePath(db2).toString(), db2.getLocationUri());
 
-      List<String> dbs = client.getDatabases(".*");
-
-      assertTrue("first database is not " + TEST_DB1_NAME, 
dbs.contains(TEST_DB1_NAME));
-      assertTrue("second database is not " + TEST_DB2_NAME, 
dbs.contains(TEST_DB2_NAME));
+      Database verifyDb1 = client.getDatabase(TEST_DB1_NAME);

Review Comment:
   i don't follow why this change is necessary. client.getDatabases(".*") 
should return list containing both TEST_DB1_NAME & TEST_DB2_NAME 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to