redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.12k stars 556 forks source link

tests: use partition size metrics in test verifying local retention move #19845

Closed mmaslankaprv closed 1 week ago

mmaslankaprv commented 1 week ago

Previously the test was using an on disk size to validate the correctness of move policy. Switched to use partition size metrics as they are more accurate and it is easier to assert the correct result.

Backports Required

Release Notes

vbotbuildovich commented 1 week ago

/backport v24.1.x

vbotbuildovich commented 1 week ago

/backport v23.3.x