Skip to content

Commit

Permalink
tests: do not reserve disk space in full_node_test
Browse files Browse the repository at this point in the history
Additional reservation of disk space influence balancer logic and makes
external calculation (based on actual disk space) inaccurate. Dropped
reservation in `full_node_test` as it is not requires since there are
no topics with reclaimable retention.

Fixes: redpanda-data#8220

Signed-off-by: Michal Maslanka <michal@redpanda.com>
(cherry picked from commit 70c0f7a)
  • Loading branch information
mmaslankaprv authored and vbotbuildovich committed Oct 27, 2023
1 parent 5c52c48 commit 505897e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/rptest/tests/partition_balancer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,9 +658,8 @@ def test_full_nodes(self):
"health_monitor_max_metadata_age": 3000,
"log_segment_size": 104857600, # 100 MiB
"retention_local_target_capacity_percent": 100.0,
# add disk reservation to buffer
"disk_reservation_percent": 10.0,
"retention_local_trim_interval": 3000
"retention_local_trim_interval": 3000,
"disk_reservation_percent": 0.0
},
environment={"__REDPANDA_TEST_DISK_SIZE": disk_size})

Expand Down

0 comments on commit 505897e

Please sign in to comment.