fixed test

This commit is contained in:
dashevchenko 2025-02-28 15:15:00 +02:00
parent 45d289d0a3
commit d25af15074

View File

@ -113,7 +113,7 @@ public class EdqsEntityDataQueryTest extends AbstractContainerTest {
EntityCountQuery query = new EntityCountQuery(allDeviceFilter); EntityCountQuery query = new EntityCountQuery(allDeviceFilter);
await("Waiting for total device count") await("Waiting for total device count")
.atMost(30, TimeUnit.SECONDS) .atMost(30, TimeUnit.SECONDS)
.until(() -> testRestClient.postCountDataQuery(query).equals(97L * 2)); .until(() -> testRestClient.postCountDataQuery(query).compareTo(97L * 2) >= 0);
testRestClient.getAndSetUserToken(tenantAdminId); testRestClient.getAndSetUserToken(tenantAdminId);
await("Waiting for total device count") await("Waiting for total device count")