mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 01:42:37 +08:00
Add a safe wait in the fdbcli setclass test
This commit is contained in:
parent
6b01363f45
commit
b00cefc243
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user