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:
parent
66a329e4b7
commit
360baf9dd6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue