Code cleanup

Resolves #2990
This commit is contained in:
Ömer Çelik
2024-08-19 14:00:07 +03:00
committed by Oleg Zhurakousky
parent 7fefaa38c0
commit 8e5f67a1a6

View File

@@ -193,7 +193,7 @@ class RabbitBinderModuleTests {
private void checkCustomizedArgs() throws MalformedURLException, URISyntaxException, InterruptedException {
List<Map<String, Object>> bindings = RestUtils.getBindingsBySource(client, uri, "/", "process-in-0");
int n = 0;
while (n++ < 100 && bindings == null || bindings.isEmpty()) {
while (n++ < 100 && bindings == null || bindings.size() < 1) {
Thread.sleep(100);
bindings = RestUtils.getBindingsBySource(client, uri, "/", "process-in-0");
}