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

[v23.2.x] remote_partition_fuzz_test: measure shutdown time directly #15246

Conversation

andijcr
Copy link
Contributor

@andijcr andijcr commented Nov 30, 2023

Backport of PR #15142
Backport of PR #15200

Fixes #15234

…gging

this logging demostrate how the active part of the test takes only only
~10 lines of logging.

with this it should be possible to better reconstruct a failed test run
instead of relying on ss::with_timeout

log shows that close_fut can take more than 10ms to trigger the
shutdown, in underprovisioned systems this can trigger ss::with_timeout
because the runtime can start the timer way before triggering
shutdown_connections.

measuring the actual shutdown time in the same fiber as
shutdown_connection should remove this problem
remove try-catch construct, meant to acquire and log an expected
ss::timed_out_error exception. now that ss::with_timeout is not used
anymore, it can be removed
@andijcr andijcr added the kind/backport PRs targeting a stable branch label Nov 30, 2023
@andijcr andijcr added this to the v23.2.x-next milestone Nov 30, 2023
@andijcr andijcr marked this pull request as ready for review December 1, 2023 15:09
@andijcr andijcr requested a review from Lazin December 5, 2023 18:06
@piyushredpanda piyushredpanda merged commit 5c0a87b into redpanda-data:v23.2.x Dec 14, 2023
26 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.2.x-next, v23.2.19 Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants