adoroszlai commented on code in PR #3415:
URL: https://github.com/apache/ozone/pull/3415#discussion_r877223715
##########
hadoop-hdds/framework/src/test/java/org/apache/hadoop/hdds/utils/db/TestRDBStore.java:
##########
@@ -239,101 +226,84 @@ public void listTables() throws Exception {
int count = families.size();
// Assert that we have all the tables in the list and no more.
for (String name : families) {
- Assert.assertTrue(hashTable.containsKey(name));
+ Assertions.assertTrue(hashTable.containsKey(name));
count--;
}
- Assert.assertEquals(0, count);
+ Assertions.assertEquals(0, count);
}
@Test
public void testRocksDBCheckpoint() throws Exception {
- try (RDBStore newStore =
- new RDBStore(folder.newFolder(), options, configSet)) {
Review Comment:
With old junit these were opened in a new location, unrelated to the old DB
store. We could pass another temp dir to the methods.
--
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]