NO-JIRA Fixing intermittent test failure on PagingTest

This commit is contained in:
Clebert Suconic 2024-05-30 09:58:01 -04:00
parent 032597dba3
commit 4c6cded2e7
1 changed files with 1 additions and 1 deletions

View File

@ -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);