Skip to content
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

Feature - Do not retry crashed tests #443

Conversation

ravimandala
Copy link
Contributor

@ravimandala ravimandala commented May 19, 2020

Implementing the behavior proposed in #423.
\cc @ob

@ravimandala ravimandala requested a review from ob May 19, 2020 17:34
@ravimandala ravimandala force-pushed the feature_no_retry_on_crash branch 2 times, most recently from ba6d530 to 7b3ea13 Compare May 21, 2020 08:16
@ravimandala ravimandala changed the title [Draft] Feature - Do not retry crashed tests Feature - Do not retry crashed tests May 21, 2020
@ravimandala
Copy link
Contributor Author

@ob @oliverhu @valeraz Please review.

@ravimandala ravimandala requested a review from oliverhu May 21, 2020 08:22
@valeraz
Copy link

valeraz commented May 21, 2020

LGTM, but I'll let the folks with more experience in the codebase approve.

@ravimandala ravimandala force-pushed the feature_no_retry_on_crash branch from 7b3ea13 to 4dc5060 Compare June 5, 2020 23:30
Based on recent change crashed tests are fatal and
would always return a non-zero exit code.

After this change, the crashed tests are NOT retried
to make sure the app crash errors are surfaced without confusion.
Also added new tests and fixed existing ones as per the new no-retry behavior.
@ravimandala ravimandala force-pushed the feature_no_retry_on_crash branch from 4dc5060 to b38b72b Compare June 6, 2020 00:20
Copy link
Member

@ob ob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ravimandala ravimandala merged commit 08d3951 into MobileNativeFoundation:master Jun 15, 2020
@ravimandala ravimandala deleted the feature_no_retry_on_crash branch June 15, 2020 18:22
ravimandala added a commit that referenced this pull request Oct 2, 2020
Based on previous changes crashed tests are fatal and
would always return a non-zero exit code.

With this change, the crashed tests are NOT retried
to make sure the app crash errors are surfaced without confusion.
Also added new tests and fixed existing ones as per the new no-retry behavior.
AhmedEid added a commit to tinyspeck/bluepill that referenced this pull request Nov 18, 2020
* master:
  Reference libXCTestBundleInject.dylib only if it exists (MobileNativeFoundation#460)
  Record video using simctl (MobileNativeFoundation#441)
  Xcode 12.0 support (MobileNativeFoundation#458)
  Retry app crash tests and consider then non-fatal if they pass (MobileNativeFoundation#456)
  Do not retry crashed tests (MobileNativeFoundation#443)
  Fixing minor issues and doing some minor refactoring/clean-up (MobileNativeFoundation#444)
  Xcode 11.5 support (MobileNativeFoundation#447)
  Xcode 11.4 support (MobileNativeFoundation#446)
  Add a flag to disable Xcode version check failure (MobileNativeFoundation#436)
  Support sidecar applications (MobileNativeFoundation#438)
  Added a few more tests to mock test failure scenarios and fixed a few final Exit Status issues  (MobileNativeFoundation#430)
  make retry checks more resilient to prevent infinite retries (MobileNativeFoundation#432)
  Xcode 11.3 support (MobileNativeFoundation#426)
  Supporting tests and app hosts in subfolders (MobileNativeFoundation#419)

# Conflicts:
#	bp/src/SimulatorHelper.m
#	bp/tests/SimulatorHelperTests.m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants