-
Notifications
You must be signed in to change notification settings - Fork 593
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
rptest: Fix throttling test #17474
rptest: Fix throttling test #17474
Conversation
Avoid restarting redpanda durint the e2e test. Restart resets the metrics and the second run of the consumer after restart is not guaranteed to hit throttling because the data is cached.
self.logger.info("Stop nodes") | ||
for node in self.redpanda.nodes: | ||
self.redpanda.stop_node(node, timeout=120) | ||
|
||
self.logger.info("Start nodes") | ||
for node in self.redpanda.nodes: | ||
self.redpanda.start_node(node, timeout=120) | ||
|
||
self.logger.info("Restart consumer") | ||
self.consume() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. This makes me wonder why we restarted in the first place 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeh not sure. probably copy/paste
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/47041#018e878b-2c32-4b52-b4d8-a04706aaf452 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/47054#018e8866-b9d0-46f6-86ad-a3943d79ba15 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/47054#018e8866-b9d0-472b-acdb-f03c3f1a710a |
/ci-repeat 2 |
/backport v23.3.x |
Avoid restarting redpanda durint the e2e test. Restart resets the metrics and the second run of the consumer after restart is not guaranteed to hit throttling because the data is cached.
Fixes: #14139
Backports Required
Release Notes