dlmarion commented on code in PR #3140:
URL: https://github.com/apache/accumulo/pull/3140#discussion_r1061787935
##########
server/gc/src/test/java/org/apache/accumulo/gc/SimpleGarbageCollectorTest.java:
##########
@@ -137,6 +137,21 @@ public void testMoveToTrash_NotUsingTrash() throws
Exception {
assertFalse(gc.moveToTrash(path));
}
+ @Test
+ public void testMoveToTrash_NotUsingTrash_importsOnlyEnabled() throws
Exception {
+ systemConfig.set(Property.GC_TRASH_IGNORE.getKey(), "true");
+ systemConfig.set(Property.GC_TRASH_IGNORE_IMPORTS_ONLY.getKey(), "true");
+ Path iFilePath = new Path("Ifile");
Review Comment:
Please take a look at TabletFileTest.testValidPaths for some more realistic
file and path names.
--
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]