Skip to content

Commit 360baf9

Browse files
committed
HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException
Addendum #2: The new test fails on origin.hbase.dir written by HTU up on jenkins... has a 'tmp' in it. Fix.
1 parent 66a329e commit 360baf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotAdjunct.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ public static void setUpBeforeClass() throws Exception {
7474
Configuration conf = TEST_UTIL.getConfiguration();
7575
for (Iterator<Map.Entry<String, String>> i = conf.iterator(); i.hasNext();) {
7676
Map.Entry<String, String> e = i.next();
77+
if (e.getKey().contains("original.hbase.dir")) {
78+
continue;
79+
}
7780
if (e.getValue().contains("java.io.tmpdir")) {
7881
continue;
7982
}

0 commit comments

Comments
 (0)