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.
This commit is contained in:
stack 2020-04-15 22:42:09 -07:00
parent 66a329e4b7
commit 360baf9dd6
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ public class TestExportSnapshotAdjunct {
Configuration conf = TEST_UTIL.getConfiguration(); Configuration conf = TEST_UTIL.getConfiguration();
for (Iterator<Map.Entry<String, String>> i = conf.iterator(); i.hasNext();) { for (Iterator<Map.Entry<String, String>> i = conf.iterator(); i.hasNext();) {
Map.Entry<String, String> e = i.next(); Map.Entry<String, String> e = i.next();
if (e.getKey().contains("original.hbase.dir")) {
continue;
}
if (e.getValue().contains("java.io.tmpdir")) { if (e.getValue().contains("java.io.tmpdir")) {
continue; continue;
} }