Skip to content

Commit e301321

Browse files
author
Tom Barnes
committed
show current owner after every failed attempt obtain a lease (e.g. once for each retry)
1 parent 4a9668c commit e301321

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/integration-tests/bash/lease.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ function obtainLease {
421421
return 1
422422
break
423423
fi
424-
traceInfo "Retrying after $((mnow - mstart)) seconds. About to sleep ${SLEEP_SECONDS} seconds. Max wait is ${OBTAIN_LEASE_TIMEOUT_SECONDS} seconds."
424+
traceInfo "Retrying after $((mnow - mstart)) seconds. About to sleep ${SLEEP_SECONDS} seconds. Max wait is ${OBTAIN_LEASE_TIMEOUT_SECONDS} seconds. Current lease owner:"
425+
showRemoteLease
425426
sleep $SLEEP_SECONDS
426427
done
427428
}

0 commit comments

Comments
 (0)