Increase tolerance to improve test stability #272
GitHub Actions / π Unit test report (tvos)
failed
Dec 7, 2024 in 0s
907 tests run, 905 passed, 0 skipped, 2 failed.
Annotations
Check failure on line 1 in Tests/PlayerTests/Tracking/PlayerItemTrackerMetricPublisherTests.swift
github-actions / π Unit test report (tvos)
PlayerItemTrackerMetricPublisherTests.testPlaylist()
XCTAssertTrue failed - Different count:
| Received: (3) [[], [12/7/24, 19:16 - Metadata: 0.000000s (experience), 0.000022s (service)], [12/7/24, 19:16 - Metadata: 0.000000s (experience), 0.000022s (service), [00:00:00] 12/7/24, 19:16 - Asset: 0.490553s (experience)]]
| Expected: (4) [[], [12/7/24, 19:16 - Metadata: 0.000000s (experience), 0.000000s (service)], [12/7/24, 19:16 - Metadata: 0.000000s (experience), 0.000000s (service), 12/7/24, 19:16 - Asset: 0.000000s (experience)], [12/7/24, 19:16 - Metadata: 0.000000s (experience), 0.000000s (service), 12/7/24, 19:16 - Asset: 0.000000s (experience)]]
(/Users/runner/work/pillarbox-apple-github-runner-poc/pillarbox-apple-github-runner-poc/Tests/PlayerTests/Tracking/PlayerItemTrackerMetricPublisherTests.swift#EndingLineNumber=40&StartingLineNumber=40)
Check failure on line 1 in Tests/PlayerTests/Playlist/CurrentItemTests.swift
github-actions / π Unit test report (tvos)
CurrentItemTests.testCurrentItemWithMiddleFailedItem()
XCTAssertTrue failed - Different count:
| Received: (1) [Optional(E1CD8F58-18CF-42DB-9384-78AB85C84745)]
| Expected: (2) [Optional(E1CD8F58-18CF-42DB-9384-78AB85C84745), Optional(830DDDDE-090C-4B09-8EEA-C8EC82FDFEC0)]
(/Users/runner/work/pillarbox-apple-github-runner-poc/pillarbox-apple-github-runner-poc/Tests/PlayerTests/Playlist/CurrentItemTests.swift#EndingLineNumber=44&StartingLineNumber=44)
Loading