-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
tests: Reenable testAddAndRemoveData #2533
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 8.0.0 #2533 +/- ##
==========================================
- Coverage 78.92% 78.79% -0.13%
==========================================
Files 241 241
Lines 22118 22129 +11
Branches 9767 9775 +8
==========================================
- Hits 17457 17437 -20
- Misses 4217 4243 +26
- Partials 444 449 +5
Continue to review full report at Codecov.
|
So by adding more tests the coverage went down? Doesn't make sense. |
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
Yeah, I also don't get this. Sometimes it's just bogus. |
* 8.0.0: (31 commits) tests: Reenable testAddAndRemoveData (#2533) feat: support SENTRY_DSN environment var on macOS (#2534) Remove duplicate entry (#2532) fix: ARC issue for FileManager (#2525) feat: Add SwiftUI performance tracking (#2271) fix: Remove all permission checks (#2529) Remove the automatic `viewAppearing` span (#2511) Fix and reenable testANRDetected_UpdatesAppStateToTrue (#2526) fix: Don't add out of date context for crashes (#2523) ref: Rename isOOM to watchdog in Client (#2520) test: Fix disabled failing watchdog test (#2521) build(deps): bump github/codeql-action from 2.1.35 to 2.1.36 (#2516) Rename the watchdog option and integration (#2513) feat: Enable CaptureFailedRequests by default (#2507) test: Fix asserts for SentryCrashTestInstallation (#2500) meta: User interaction tracing enabled per default (#2506) ref: Rename OOM to Watchdog Terminations (#2499) feat: enableUserInteractionTracing is GA (#2503) build(deps): bump nokogiri from 1.13.9 to 1.13.10 (#2505) perf: Don't attach headers for SentryNoOpSpan (#2498) ...
I initially thought the test had failed twice, but it was actually only once. And the test failure wasn't a real test failure I think:
But absolutely nowhere is there any information on which assert failed, and how. But since the test only uses
XCTAssertEqual
andXCTAssertNil
, we should get proper failure messages.So I don't know why the test failed in https://github.com/getsentry/sentry-cocoa/actions/runs/3530734813/jobs/5923080490, but I don't think it's because the actual test function is flaky.
#skip-changelog