-
Notifications
You must be signed in to change notification settings - Fork 841
Fix flaky TraversalExplanationTest #3259
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
Fix flaky TraversalExplanationTest #3259
Conversation
…rsalExplanationTest.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 3.8-dev #3259 +/- ##
==========================================
Coverage ? 77.30%
Complexity ? 15013
==========================================
Files ? 1159
Lines ? 71922
Branches ? 8023
==========================================
Hits ? 55599
Misses ? 13273
Partials ? 3050 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
.../test/java/org/apache/tinkerpop/gremlin/process/traversal/util/TraversalExplanationTest.java
Outdated
Show resolved
Hide resolved
|
VOTE +1 |
…riplet parts instead of using the unreliable prettyPrint output which can add line breaks in the middle of strategy and step names.
|
Note that I had originally changed the test to add troubleshooting output but after the build failed for this PR I was able to determine the cause of the flakiness was the usage of |
|
VOTE+1 again after update to fix test |
|
VOTE +1 |
Refactored flaky test
TraversalExplanationTest.shouldApplyStrategiesCorrectlywhich has started failing more often when executed by github actions. This changeset changes the test to validate the individual parts of theTraversalExplanationtriplets (strategy name, strategy category, steps) instead of using theprettyPrintoutput which can add line breaks in the middle of strategy and step names.VOTE +1