-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[rb] Set Ruby tests to rerun when failing #16858
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
base: trunk
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
2f81c79 to
092e1b5
Compare
User description
🔗 Related Issues
Uses #16840 for ruby
💥 What does this PR do?
Here's an example of it working:
https://github.com/SeleniumHQ/selenium/actions/runs/20821698874/job/59812871900?pr=16858
build/failures/_run1.txt(nested in build directory since it is in.gitignore)SE_DEBUG=true(output may exceed what GitHub will display in console)build/failures/_run2.txtbuild/failuresdirectory and renamed to the target name_runfilesPR Type
Tests, Enhancement
Description
Add rerun-with-debug flag to Ruby test workflows
Intentionally break tests to verify rerun mechanism works
Reduce flaky_test_attempts from 3 to 2 in local/remote tests
Clean up whitespace in CI workflow file
Diagram Walkthrough
File Walkthrough
element_spec.rb
Intentional test failures for rerun verificationrb/spec/integration/selenium/webdriver/element_spec.rb
ci-ruby.yml
Configure Ruby CI for debug rerun on failures.github/workflows/ci-ruby.yml
rerun-with-debug: trueparameter to unit, local, and remote testjobs
flaky_test_attemptsfrom 3 to 2 in local and remote test jobs