minor fix in Wait.wait log message text

This commit is contained in:
Axel Uhl
2022-06-29 18:49:55 +02:00
parent f84154c624
commit 0ec3321dc0
@@ -91,7 +91,7 @@ implements ApplicationProcessHost<ShardingKey, MetricsT, ProcessT> {
if (sshChannel != null) { // could, e.g., have timed out
try {
final JSONArray serverDirectoriesAndPorts = Wait.wait(()->getServerDirectoriesAndPorts(sshChannel), sdap->true, /* retryOnException */ true,
optionalTimeout, /* sleepBetweenAttempts */ Duration.ONE_MINUTE, Level.INFO, "Couldn't parse JSON response describing application processes on host "+this);
optionalTimeout, /* sleepBetweenAttempts */ Duration.ONE_MINUTE, Level.INFO, "Parsing JSON response describing application processes on host "+this);
for (final Object serverDirectoryAndPort : serverDirectoriesAndPorts) {
final JSONObject serverDirectoryAndPortObject = (JSONObject) serverDirectoryAndPort;
ProcessT process;