Fix TenantControllerTest (#12839)

* Increase timeout for TenantControllerTest to 60 seconds to prevent failing on waiting for tenant deletion

* Modify deleteTenant in AbstractWebTest
This commit is contained in:
Andrii Landiak 2025-03-06 16:41:20 +02:00 committed by GitHub
parent 6e9a4234ce
commit e59de20b35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -402,7 +402,7 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest {
} catch (Exception e) {
throw new RuntimeException(e);
}
Awaitility.await("all tasks processed").atMost(60, TimeUnit.SECONDS).during(300, TimeUnit.MILLISECONDS)
Awaitility.await("all tasks processed").atMost(90, TimeUnit.SECONDS).during(300, TimeUnit.MILLISECONDS)
.until(() -> storage.getLag("tb_housekeeper") == 0);
}