-
Notifications
You must be signed in to change notification settings - Fork 12
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
Make wait_until faster by ignoring backoff_sec on success #16
Conversation
LGTM. I guess we should test that this doesn't destabilize any existing tests which might have implicit dependency on that extra sleep: probably need a throwaway vtools PR with ducktape pointed at this sha1 to check that. |
I've done it locally Without the fix
With the fix
Look at the reduced duration! Test failures missing in the first run:
I looked at them and it may be an effect of implicit dependency of extra sleep. But it seems that the change doesn't destabilize but reveals previously hidden flakiness; working on identifying them. |
The latest version improved performace of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
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.
so good
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
The latest version improved performance of wait_until and reduced the full test run by 30%. See details in redpanda-data/ducktape#16
it isn't uncommon to have dozens of
wait_until
in a test. Withbackoff_sec
set to 2 seconds 30 successfulwait_until
sums up to a minute of wasted CI time.