From f4689dd22fe460a618dbe644756ff914b1b032c4 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 19 Feb 2019 12:11:41 -0800 Subject: [PATCH] probe tests: wait to start replicators until after verifying initial state Change-Id: Ida7c776201a068d44572d1e94472c975c4bc8e36 --- test/probe/test_replication_servers_working.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/probe/test_replication_servers_working.py b/test/probe/test_replication_servers_working.py index 88e419dfac..59e09fbc2a 100644 --- a/test/probe/test_replication_servers_working.py +++ b/test/probe/test_replication_servers_working.py @@ -124,14 +124,14 @@ class TestReplicatorFunctions(ReplProbeTest): test_node_dir_list.append(d) # Run all replicators try: - self.replicators.start() - # Delete some files for directory in os.listdir(test_node): shutil.rmtree(os.path.join(test_node, directory)) self.assertFalse(os.listdir(test_node)) + self.replicators.start() + # We will keep trying these tests until they pass for up to 60s begin = time.time() while True: