-
Notifications
You must be signed in to change notification settings - Fork 134
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
RUMM-1770 test_repetition_mode is added for Xcode 13 stack #662
Conversation
3746b9f
to
3c129dd
Compare
@@ -91,6 +91,11 @@ def __rendered_template(self): | |||
|
|||
template = template.replace('## <MACOS VERSION> ##', self.host_os_version) | |||
|
|||
if self.host_os_version.startswith('11'): # macOS 11.X Big Sur | |||
template = template.replace('## <RETRY_ON_FAIL> ##', "test_repetition_mode: 'retry_on_failure'") |
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.
Don't we need to specify maximum_test_repetitions
as well? Or does it have a default value?
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.
yes, default value is 3, reasonable i guess.?
i didn't want to replace multiple lines in yaml in order not to deal with indentation issues.
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.
Totally 👍 for keeping it simple like that.
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.
👌
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.
LGTM
What and why?
Bitrise's
xcode-test
step deprecatesshould_retry_test_on_fail
input in favor oftest_repetition_mode: 'retry_on_failure
How?
Our main
bitrise.yml
uses the new input parameter.nightly-unit-tests
tool sets the input parameter accordingly.TODO
Review checklist