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:
parent
6e9a4234ce
commit
e59de20b35
@ -402,7 +402,7 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(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);
|
.until(() -> storage.getLag("tb_housekeeper") == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user