-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
91ecdd6
commit 08d3951
Showing
4 changed files
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 4 additions & 7 deletions
11
bp/tests/Resource Files/crash_tests_with_retry_attempt_2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites name="Selected tests" tests="1" failures="1" errors="0"> | ||
<testsuite tests="1" failures="1" errors="0" name="BPSampleAppCrashingTests.xctest"> | ||
<testsuite tests="1" failures="1" errors="0" name="BPSampleAppCrashingTests"> | ||
<testcase classname="BPSampleAppCrashingTests" name="testAppCrash1"> | ||
<failure type="Failure" message="App Crashed"></failure> | ||
<system-out></system-out> | ||
</testcase> | ||
<testsuites name="Selected tests" tests="1" failures="0" errors="0"> | ||
<testsuite tests="1" failures="0" errors="0" name="BPSampleAppCrashingTests.xctest"> | ||
<testsuite tests="1" failures="0" errors="0" name="BPSampleAppCrashingTests"> | ||
<testcase classname="BPSampleAppCrashingTests" name="testAppCrash2"></testcase> | ||
</testsuite> | ||
</testsuite> | ||
</testsuites> |