Streamline data providers & retrial of failed tests #2885
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2884
When a data driven test fails, then ensure that
we don’t call the data provider once again when
retrying the test (we seem to invoke the data
provider multiple times, but ignore the value)
As part of fixing this, getting rid of the test for #2157.
#2157 - deals with null pointer exceptions arising Out of data provider that was re-invoked as a result Of us retrying a failed test.
But now since a data provider is NOT going to be
re-invoked the changes for #2157 become irrelevant.
Fixes #2884 .
Did you remember to?
CHANGES.txt
./gradlew autostyleApply
We encourage pull requests that:
If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.
Note: For more information on contribution guidelines please make sure you refer our Contributing section for detailed set of steps.