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

fix: Rare flush timeout when called in tight loop #4257

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

philipphofmann
Copy link
Member

@philipphofmann philipphofmann commented Aug 8, 2024

📜 Description

Fix an edge case that flush could keep timing out when called in a tight loop. The test case testFlush_WhenNoInternet_BlocksAndFinishes does this and sometimes fails with 'Flush should not time out'. This is fixed now by removing the duplicate setting of isFlushing to NO in two different synchronize blocks.

💡 Motivation and Context

This came up while investigating the flaky test testFlush_WhenNoInternet_BlocksAndFinishes in here https://github.com/getsentry/sentry-cocoa/actions/runs/10297370247/job/28500398785?pr=4255

Test Log output

Test Case '-[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes]' started.
[Sentry] [debug] [SentryFileManager:723] SentryFileManager.cachePath: /Users/runner/Library/Developer/CoreSimulator/Devices/FC96B33F-5CE1-4739-8ED4-07C386A47840/data/Library/Caches
[Sentry] [debug] [SentryFileManager:50] No file to delete at /Users/runner/Library/Developer/CoreSimulator/Devices/FC96B33F-5CE1-4739-8ED4-07C386A47840/data/Library/Caches/io.sentry/dda1568b6e922041505221858fff7e3dba0a9a6f/events
[Sentry] [debug] [SentryFileManager:56] Successfully deleted file at /Users/runner/Library/Developer/CoreSimulator/Devices/FC96B33F-5CE1-4739-8ED4-07C386A47840/data/Library/Caches/io.sentry/dda1568b6e922041505221858fff7e3dba0a9a6f/envelopes
[Sentry] [debug] [SentryHttpTransport:278] sendAllCachedEnvelopes start.
[Sentry] [debug] [SentryHttpTransport:290] No envelopes left to send.
[Sentry] [debug] [SentryHttpTransport:374] Finished sending.
[Sentry] [debug] [SentryHttpTransport:278] sendAllCachedEnvelopes start.
[Sentry] [debug] [SentryHttpTransport:290] No envelopes left to send.
[Sentry] [debug] [SentryHttpTransport:374] Finished sending.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:855: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertEqual failed: ("SentryFlushResult(rawValue: 1)") is not equal to ("SentryFlushResult(rawValue: 0)") - Flush should not time out.
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/SentryTests/Networking/SentryHttpTransportTests.swift:862: error: -[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes] : XCTAssertLessThan failed: ("2.0109182408099993") is not less than ("0.1")
[Sentry] [debug] [SentryFileManager:56] Successfully deleted file at /Users/runner/Library/Developer/CoreSimulator/Devices/FC96B33F-5CE1-4739-8ED4-07C386A47840/data/Library/Caches/io.sentry/dda1568b6e922041505221858fff7e3dba0a9a6f/envelopes
[Sentry] [debug] [SentrySDK:500] Starting to close SDK.
[Sentry] [debug] [SentryContinuousProfiler:143] No continuous profiler is currently running.
[Sentry] [debug] [SentrySDK:511] Uninstalled all integrations.
[Sentry] [debug] [SentryFileManager:723] SentryFileManager.cachePath: (null)
[Sentry] [debug] [SentryFileManager:56] Successfully deleted file at (null)
[Sentry] [debug] [SentryDependencyContainer:102] Could not create file manager - Error Domain=SentryErrorDomain Code=108 "Failed to create the directory at path (null)." UserInfo={NSLocalizedDescription=Failed to create the directory at path (null)., NSUnderlyingError=0x600005174f00 {Error Domain=NSCocoaErrorDomain Code=512 "The file couldn’t be saved."}}
[Sentry] [debug] [SentryHub:777] Closed the Hub.
[Sentry] [debug] [SentryReachability:233] Removing all observers.
[Sentry] [debug] [SentryReachability:235] Synchronized to remove all observers.
[Sentry] [debug] [SentryReachability:259] Cleaning up reachability queue.
[Sentry] [debug] [SentrySDK:532] SDK closed!
[Sentry] [debug] [SentryFileManager:723] SentryFileManager.cachePath: (null)
[Sentry] [debug] [SentryFileManager:56] Successfully deleted file at (null)
[Sentry] [debug] [SentryDependencyContainer:102] Could not create file manager - Error Domain=SentryErrorDomain Code=108 "Failed to create the directory at path (null)." UserInfo={NSLocalizedDescription=Failed to create the directory at path (null)., NSUnderlyingError=0x600005174390 {Error Domain=NSCocoaErrorDomain Code=512 "The file couldn’t be saved."}}
[Sentry] [warning] [SentryProfiler:123] Profiler is not currently running.
[Sentry] [debug] [SentryFileManager:50] No file to delete at /Users/runner/Library/Developer/CoreSimulator/Devices/FC96B33F-5CE1-4739-8ED4-07C386A47840/data/Library/Application Support/io.sentry/profileLaunch
[Sentry] [debug] [SentryLaunchProfiling:215] Finishing launch tracer.
Test Case '-[SentryTests.SentryHttpTransportTests testFlush_WhenNoInternet_BlocksAndFinishes]' failed (201.238 seconds).

💚 How did you test it?

It's really hard to test locally. The tests are still green and CI will hopefully not surface this failing test again.

📝 Checklist

You have to check all boxes before merging:

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Fix an edge case that flush could keep timing out when called in a tight
loop. The test case testFlush_WhenNoInternet_BlocksAndFinishes does this
and sometimes fails with 'Flush should not time out'. This is fixed now,
by removing the duplicate setting of isFlushing to NO in two different
synchronize blocks.
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.514%. Comparing base (9067467) to head (b454b74).

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #4257       +/-   ##
=============================================
+ Coverage   91.460%   91.514%   +0.053%     
=============================================
  Files          611       612        +1     
  Lines        49384     49471       +87     
  Branches     17841     17915       +74     
=============================================
+ Hits         45167     45273      +106     
+ Misses        4123      4105       -18     
+ Partials        94        93        -1     
Files Coverage Δ
Sources/Sentry/SentryHttpTransport.m 98.823% <ø> (-0.014%) ⬇️

... and 18 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9067467...b454b74. Read the comment docs.

Copy link

github-actions bot commented Aug 8, 2024

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1228.39 ms 1243.10 ms 14.71 ms
Size 21.58 KiB 699.25 KiB 677.67 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
1bbcb9c 1192.51 ms 1231.96 ms 39.45 ms
d6ff82c 1219.06 ms 1244.31 ms 25.24 ms
9ef729b 1228.79 ms 1245.36 ms 16.57 ms
5eaadc5 1236.24 ms 1245.45 ms 9.20 ms
c0b4b71 1246.98 ms 1256.77 ms 9.79 ms
b9b0f0a 1251.45 ms 1257.86 ms 6.41 ms
cc31630 1235.22 ms 1252.51 ms 17.29 ms
94b89eb 1236.08 ms 1264.58 ms 28.50 ms
94e1968 1230.22 ms 1253.33 ms 23.11 ms
48e8c2e 1233.78 ms 1255.44 ms 21.66 ms

App size

Revision Plain With Sentry Diff
1bbcb9c 20.76 KiB 426.10 KiB 405.34 KiB
d6ff82c 21.58 KiB 616.14 KiB 594.56 KiB
9ef729b 20.76 KiB 432.88 KiB 412.12 KiB
5eaadc5 21.58 KiB 651.06 KiB 629.48 KiB
c0b4b71 20.76 KiB 430.98 KiB 410.22 KiB
b9b0f0a 20.76 KiB 434.94 KiB 414.18 KiB
cc31630 21.58 KiB 694.58 KiB 672.99 KiB
94b89eb 20.76 KiB 399.20 KiB 378.43 KiB
94e1968 21.58 KiB 614.74 KiB 593.15 KiB
48e8c2e 21.58 KiB 418.45 KiB 396.86 KiB

Previous results on branch: fix/false-flush-timeout

Startup times

Revision Plain With Sentry Diff
c1c8fd0 1218.92 ms 1234.37 ms 15.45 ms

App size

Revision Plain With Sentry Diff
c1c8fd0 21.58 KiB 698.92 KiB 677.34 KiB

Copy link
Contributor

@brustolin brustolin left a comment

Choose a reason for hiding this comment

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

The BucketMetricsAggregatorTests test for tvOS is failing consistently, but I can't reproduce it locally

@philipphofmann
Copy link
Member Author

The BucketMetricsAggregatorTests test for tvOS is failing consistently, but I can't reproduce it locally

I will have a look. Thanks for the hint.

@philipphofmann philipphofmann merged commit 6610ef1 into main Aug 8, 2024
62 of 64 checks passed
@philipphofmann philipphofmann deleted the fix/false-flush-timeout branch August 8, 2024 10:25
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.

2 participants