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