YARN-6618. TestNMLeveldbStateStoreService#testCompactionCycle can fail if compaction occurs more than once. Contributed by Jason Lowe.
(cherry picked from commit 19482e0d09
)
This commit is contained in:
parent
dad7d0e2ff
commit
46c54bf200
|
@ -931,7 +931,7 @@ public class TestNMLeveldbStateStoreService {
|
||||||
};
|
};
|
||||||
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…
Reference in New Issue