YARN-6618. TestNMLeveldbStateStoreService#testCompactionCycle can fail if compaction occurs more than once. Contributed by Jason Lowe.
(cherry picked from commit 19482e0d0990feb719678d71971aa849095982fd)
This commit is contained in:
parent
23bbbce63e
commit
71d91d53bf
@ -918,7 +918,7 @@ protected DB openDatabase(Configuration conf) {
|
|||||||
};
|
};
|
||||||
store.init(conf);
|
store.init(conf);
|
||||||
store.start();
|
store.start();
|
||||||
verify(mockdb, timeout(10000)).compactRange(
|
verify(mockdb, timeout(10000).atLeastOnce()).compactRange(
|
||||||
(byte[]) isNull(), (byte[]) isNull());
|
(byte[]) isNull(), (byte[]) isNull());
|
||||||
store.close();
|
store.close();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user