Update debugging logs

This commit is contained in:
Chaoguang Lin 2021-08-13 15:00:52 -07:00
parent 9553427619
commit 4cc2042783

View File

@ -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
# this is to wait until the database is available again
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")
time.sleep(1)
if __name__ == '__main__':
# fdbcli_tests.py <path_to_fdbcli_binary> <path_to_fdb_cluster_file> <process_number>