This commit is contained in:
meejah 2019-08-08 19:15:01 -06:00
parent 425d16e39d
commit ff23ad1b89
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ def await_client_ready(process, timeout=10, liveness=60*2):
""" """
Uses the status API to wait for a client-type node to be Uses the status API to wait for a client-type node to be
'ready'. A client is deemed ready if: 'ready'. A client is deemed ready if:
- it answers http://<node_url>/statistics/?t-json/ - it answers http://<node_url>/statistics/?t=json/
- there is at least one storage-server connected - there is at least one storage-server connected
- every storage-server has a "last_received_data" and it is - every storage-server has a "last_received_data" and it is
within the last `liveness` seconds within the last `liveness` seconds