NO-JIRA Fixing intermittent test failure on PagingTest
This commit is contained in:
parent
032597dba3
commit
4c6cded2e7
|
@ -788,7 +788,7 @@ public class PagingTest extends ParameterDBTestBase {
|
||||||
consumer.close();
|
consumer.close();
|
||||||
Wait.assertFalse(queue.getPagingStore()::isPaging, 5000, 100);
|
Wait.assertFalse(queue.getPagingStore()::isPaging, 5000, 100);
|
||||||
|
|
||||||
Wait.assertEquals(1, () -> PagingStoreTestAccessor.getUsedPagesSize(queue.getPagingStore()), 1000, 100);
|
Wait.assertTrue(() -> PagingStoreTestAccessor.getUsedPagesSize(queue.getPagingStore()) <= 1, 1000, 100);
|
||||||
|
|
||||||
}
|
}
|
||||||
Wait.assertFalse(queue.getPagingStore()::isPaging, 5000, 100);
|
Wait.assertFalse(queue.getPagingStore()::isPaging, 5000, 100);
|
||||||
|
|
Loading…
Reference in New Issue