Skip to content

Commit

Permalink
Merge pull request #24194 from nvartolomei/nv/CORE-1609
Browse files Browse the repository at this point in the history
rptest: do not compare disk_free_bytes with cache_disk_free bytes
  • Loading branch information
dotnwat authored Nov 20, 2024
2 parents f93d5cb + a637e9b commit be25dc9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/rptest/tests/node_metrics_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


def assert_lists_equal(l1: list[float], l2: list[float]):
assert l1 == l2
assert l1 == l2, f"Expected {l1} == {l2}"


class NodeMetricsTest(RedpandaTest):
Expand Down Expand Up @@ -110,5 +110,3 @@ def test_node_storage_metrics(self):
# Assert cache disk metrics match data disk metrics since it is the same disk in this test setup.
assert_lists_equal(self.node_metrics.disk_total_bytes(),
self.node_metrics.cache_disk_total_bytes())
assert_lists_equal(self.node_metrics.disk_free_bytes(),
self.node_metrics.cache_disk_free_bytes())

0 comments on commit be25dc9

Please sign in to comment.