From b00cefc2432c2db1752c9f599113ada7c207893a Mon Sep 17 00:00:00 2001 From: Chaoguang Lin Date: Wed, 25 Aug 2021 10:38:01 -0700 Subject: [PATCH] Add a safe wait in the fdbcli setclass test --- bindings/python/tests/fdbcli_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/python/tests/fdbcli_tests.py b/bindings/python/tests/fdbcli_tests.py index cb33dc824e..3c710dcf4a 100755 --- a/bindings/python/tests/fdbcli_tests.py +++ b/bindings/python/tests/fdbcli_tests.py @@ -134,6 +134,8 @@ def setclass(logger): assert random_class_type in class_type_line_2 # check class source assert 'set_class' in class_type_line_2 + # wait for everything to settle down + wait_for_database_available(logger) # set back to default run_fdbcli_command('setclass', network_address, 'default') # everything should be back to the same as before