Add a safe wait in the fdbcli setclass test

This commit is contained in:
Chaoguang Lin 2021-08-25 10:38:01 -07:00
parent 6b01363f45
commit b00cefc243

View File

@ -134,6 +134,8 @@ def setclass(logger):
assert random_class_type in class_type_line_2 assert random_class_type in class_type_line_2
# check class source # check class source
assert 'set_class' in class_type_line_2 assert 'set_class' in class_type_line_2
# wait for everything to settle down
wait_for_database_available(logger)
# set back to default # set back to default
run_fdbcli_command('setclass', network_address, 'default') run_fdbcli_command('setclass', network_address, 'default')
# everything should be back to the same as before # everything should be back to the same as before