From 9e85b0ada394cce4390a6a2a519a9017fea9c4e6 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 12 Feb 2025 13:39:43 +0800 Subject: [PATCH] fix: adjust delays --- tests/data_integrity/test_data_integrity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/data_integrity/test_data_integrity.py b/tests/data_integrity/test_data_integrity.py index 4908bb7..11aaa85 100644 --- a/tests/data_integrity/test_data_integrity.py +++ b/tests/data_integrity/test_data_integrity.py @@ -19,7 +19,7 @@ class TestDataIntegrity(StepsDataAvailability): def test_da_identify_retrieve_missing_columns(self): delay(5) self.disperse_data(DATA_TO_DISPERSE[0], [0] * 31 + [1], [0] * 8) - delay(20) + delay(5) # Select one target node at random to get blob data for 1/2 columns selected_node = self.main_nodes[random.randint(1, 3)] rcv_data = self.get_data_range(selected_node, [0] * 31 + [1], [0] * 8, [0] * 7 + [5]) @@ -32,6 +32,7 @@ class TestDataIntegrity(StepsDataAvailability): @pytest.mark.usefixtures("setup_2_node_cluster") def test_da_sampling_determines_data_presence(self): + delay(5) self.disperse_data(DATA_TO_DISPERSE[0], [0] * 31 + [1], [0] * 8) delay(5) rcv_data = self.get_data_range(self.node2, [0] * 31 + [1], [0] * 8, [0] * 7 + [5])