-
Notifications
You must be signed in to change notification settings - Fork 313
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
Test failures in ImageDownloaderTests — Semaphore timed out #1327
Comments
Something doesn't seem to add up here. How could we have so many timeouts logged within a test run of ~12 seconds? We should try |
... in an attempt at troubleshooting [#1327]
As I said to @JThramer just now, we declare a |
... in an attempt at troubleshooting [#1327]
This Bitrise build for #1076 experienced a slew of test failures related to semaphores in the image downloader tests:
Test failures
MapboxNavigationTests.ImageDownloaderTests
testDownloadingAnImage, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/ImageDownloaderTests.swift:49
testDownloadingImageAgainAfterFirstDownloadCompletes, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/ImageDownloaderTests.swift:95
testDownloadingSameImageWhileInProgressAddsCallbacksWithoutAddingAnotherRequest, failed - Timeout occurred on runUntil(condition:pollingInterval:until:)
/Users/vagrant/git/MapboxNavigationTests/ImageDownloaderTests.swift:118
MapboxNavigationTests.ImageRepositoryTests
test_imageWithURL_downloadsImageWhenNotCached, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/ImageRepositoryTests.swift:27
test_imageWithURL_prefersCachedImageWhenAvailable, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/ImageRepositoryTests.swift:27
MapboxNavigationTests.InstructionsBannerViewIntegrationTests
testDelimiterDisappearsOnlyWhenAllShieldsHaveLoaded, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewIntegrationTests.swift:51
testDelimiterIsHiddenWhenAllShieldsAreAlreadyLoaded, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewIntegrationTests.swift:51
testDelimiterIsHiddenWhenAllShieldsAreAlreadyLoaded, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewIntegrationTests.swift:51
testDelimiterIsShownWhenShieldsNotLoaded, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewIntegrationTests.swift:51
testExitBannerIntegration, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewIntegrationTests.swift:51
MapboxNavigationTests.InstructionsBannerViewSnapshotTests
testAbbreviateInstructions, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testAbbreviateInstructionsIncludingDelimiter, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testAbbreviateWestFremontAvenue, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testAdjacentShields, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testExitShields, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testInstructionsAndNextInstructions, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testLongDistance, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testMultilinePrimary, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testPrimaryShieldAndSecondary, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testSinglelinePrimary, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testSinglelinePrimaryAndSecondary, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testSweEngLongDistance, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
testUkrainianLongDistance, XCTAssertTrue failed - Semaphore timed out
/Users/vagrant/git/MapboxNavigationTests/InstructionsBannerViewSnapshotTests.swift:32
/ref #1311
/cc @akitchen @JThramer
The text was updated successfully, but these errors were encountered: