Skip to content

Commit

Permalink
log message fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 6, 2023
1 parent 299a254 commit 9a8cd43
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/test/java/itest/bases/StandardSelfTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public static void waitForDiscovery(int otherTargetsCount) {
return;
}
JsonArray arr = ar.result().body();
queryFound.complete(arr.size() == totalTargets);
logger.infov("Discovered {0} targets.", arr.size());
queryFound.complete(arr.size() >= totalTargets);
});
});
try {
Expand Down Expand Up @@ -127,11 +128,11 @@ private static void tryDefineSelfCustomTarget() {
}
HttpResponse<Buffer> resp = ar.result();
logger.infov(
"HTTP {0} {1}: {2} [{3}]",
"HTTP {0} {1}: [{2}] -> {3}",
resp.statusCode(),
resp.statusMessage(),
resp.bodyAsString(),
resp.headers());
resp.headers(),
resp.bodyAsString());
});
} catch (Exception e) {
logger.warn(e);
Expand Down

0 comments on commit 9a8cd43

Please sign in to comment.