From 9a8cd43568344d3af94ca1f6c2b0a1d75576f95c Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Mon, 6 Nov 2023 17:14:29 -0500 Subject: [PATCH] log message fixup --- src/test/java/itest/bases/StandardSelfTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/test/java/itest/bases/StandardSelfTest.java b/src/test/java/itest/bases/StandardSelfTest.java index a36f6d432..6c9fe3d56 100644 --- a/src/test/java/itest/bases/StandardSelfTest.java +++ b/src/test/java/itest/bases/StandardSelfTest.java @@ -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 { @@ -127,11 +128,11 @@ private static void tryDefineSelfCustomTarget() { } HttpResponse 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);