mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 01:42:37 +08:00
Update debugging logs
This commit is contained in:
parent
9553427619
commit
4cc2042783
@ -446,8 +446,8 @@ def wait_for_database_available(logger):
|
|||||||
# sometimes the change takes some time to have effect and the database can be unavailable at that time
|
# sometimes the change takes some time to have effect and the database can be unavailable at that time
|
||||||
# this is to wait until the database is available again
|
# this is to wait until the database is available again
|
||||||
while not get_value_from_status_json(True, 'client', 'database_status', 'available'):
|
while not get_value_from_status_json(True, 'client', 'database_status', 'available'):
|
||||||
time.sleep(1)
|
|
||||||
logger.debug("Database unavailable for now, wait for one second")
|
logger.debug("Database unavailable for now, wait for one second")
|
||||||
|
time.sleep(1)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# fdbcli_tests.py <path_to_fdbcli_binary> <path_to_fdb_cluster_file> <process_number>
|
# fdbcli_tests.py <path_to_fdbcli_binary> <path_to_fdb_cluster_file> <process_number>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user