Skip to content

Commit 8e5f67a

Browse files
omercelikcengolegz
authored andcommitted
Code cleanup
Resolves #2990
1 parent 7fefaa3 commit 8e5f67a

File tree

1 file changed

+1
-1
lines changed
  • binders/rabbit-binder/spring-cloud-stream-binder-rabbit/src/test/java/org/springframework/cloud/stream/binder/rabbit/integration

1 file changed

+1
-1
lines changed

binders/rabbit-binder/spring-cloud-stream-binder-rabbit/src/test/java/org/springframework/cloud/stream/binder/rabbit/integration/RabbitBinderModuleTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ void parentConnectionFactoryInheritedByDefault() throws Exception {
193193
private void checkCustomizedArgs() throws MalformedURLException, URISyntaxException, InterruptedException {
194194
List<Map<String, Object>> bindings = RestUtils.getBindingsBySource(client, uri, "/", "process-in-0");
195195
int n = 0;
196-
while (n++ < 100 && bindings == null || bindings.isEmpty()) {
196+
while (n++ < 100 && bindings == null || bindings.size() < 1) {
197197
Thread.sleep(100);
198198
bindings = RestUtils.getBindingsBySource(client, uri, "/", "process-in-0");
199199
}

0 commit comments

Comments
 (0)