From 7d5ae9e9fa5964e75283435a0bcc473f7ccd826e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=9Blanka?= Date: Thu, 11 Jul 2024 10:56:56 +0000 Subject: [PATCH] tests: increase tolerance in local retention movement test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Increased tolerance for the size of partitions on a node added to the cluster. The expected partition size may vary as it is dependent from the segment size and non log data. The tolerance allow us to account for the variability without compromising the test correctness. Fixes: #20225 Signed-off-by: Michał Maślanka (cherry picked from commit cc099592dcc707e19582b30279e6334342ad8081) --- tests/rptest/tests/scaling_up_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rptest/tests/scaling_up_test.py b/tests/rptest/tests/scaling_up_test.py index b9f6db00df97..ef2eb36de33c 100644 --- a/tests/rptest/tests/scaling_up_test.py +++ b/tests/rptest/tests/scaling_up_test.py @@ -580,7 +580,7 @@ def disk_usage_correct(nodes, node_id): target_size = node_replicas * requested_local_retention current_usage = size_per_node[node_id] - tolerance = 0.1 + tolerance = 0.2 max = target_size * (1.0 + tolerance) min = target_size * (1.0 - tolerance) self.logger.info(