Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v24.2.x] rptest: make target_min_capacity_wanted more deterministic #23606

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #23484

@vbotbuildovich
Copy link
Collaborator Author

non flaky failures in https://buildkite.com/redpanda/redpanda/builds/56147#01927263-a247-44e2-9b12-e836726395ca:

"rptest.tests.archive_retention_test.CloudArchiveRetentionTest.test_delete.cloud_storage_type=CloudStorageType.ABS.retention_type=retention.ms"

@vbotbuildovich
Copy link
Collaborator Author

Retry command for Build#56147

please wait until all jobs are finished before running the slash command

/ci-repeat 1
tests/rptest/tests/archive_retention_test.py::CloudArchiveRetentionTest.test_delete@{"cloud_storage_type":2,"retention_type":"retention.ms"}

@nvartolomei
Copy link
Contributor

/ci-repeat 1
skip-redpanda-build
tests/rptest/tests/archive_retention_test.py::CloudArchiveRetentionTest.test_delete@{"cloud_storage_type":2,"retention_type":"retention.ms"}

@nvartolomei nvartolomei force-pushed the backport-pr-23484-v24.2.x-712 branch from e93cc35 to f37db01 Compare November 25, 2024 16:28
Slightly improve readability of the test. No functional changes. Numbers
stay the same in all expressions we just dynamically get the
`storage_reserve_min_segments` (default: 2) to future proof the test and
to make it clearer to the reader where the numbers come from.

The logic mirrors what is happening in disk_log_impl.cc. In particular,
for log without cleanup policy we 2x it's current size and multiply
storage_reserve_min_segments by default segment size and take the
maximum.

(cherry picked from commit d9a8239)
Introduce linger.ms parameter to try and make batching in the test more
deterministic when test is run on systems with different
performance/load.

(cherry picked from commit 98b6add)
@nvartolomei nvartolomei force-pushed the backport-pr-23484-v24.2.x-712 branch from f37db01 to 611986c Compare November 28, 2024 14:19
@nvartolomei nvartolomei merged commit b6e0932 into redpanda-data:v24.2.x Nov 28, 2024
15 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.2.x-next, v24.2.13 Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants