(cherry picked from commit 19482e0d0990feb719678d71971aa849095982fd)
@@ -918,7 +918,7 @@ public class TestNMLeveldbStateStoreService {
};
store.init(conf);
store.start();
- verify(mockdb, timeout(10000)).compactRange(
+ verify(mockdb, timeout(10000).atLeastOnce()).compactRange(
(byte[]) isNull(), (byte[]) isNull());
store.close();
}