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

[SR-10034] test_outerWaiterTimesOut_InnerWaitersAreInterrupted fails non-deterministically #355

slavapestov opened this issue Mar 2, 2019 · 4 comments


Copy link

@slavapestov slavapestov commented Mar 2, 2019

Previous ID SR-10034
Radar rdar://problem/47482364
Original Reporter @slavapestov
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s XCTest
Labels Bug
Assignee @stmontgomery
Priority Medium

md5: 2d4c907d286ae58dae94ded248839e29


Issue Description:

his has been going on for a long time — please either disable the test or fix it:

00:51:16.198 Test Case 'ExpectationsTestCase.test_waitingForAnUnfulfilledExpectation_fails' started at 2019-03-02 06:11:23.347
00:51:16.198 /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swift-corelibs-xctest/Tests/Functional/Asynchronous/Expectations/main.swift:23: error: ExpectationsTestCase.test_waitingForAnUnfulfilledExpectation_fails : Asynchronous wait failed - Exceeded timeout of 0.2 seconds, with unfulfilled expectations: foo
00:51:16.198 Test Case 'ExpectationsTestCase.test_waitingForAnUnfulfilledExpectation_fails' failed (0.201 seconds)
00:51:16.198 Test Case 'ExpectationsTestCase.test_waitingForUnfulfilledExpectations_outputsAllExpectations_andFails' started at 2019-03-02 06:11:23.548
00:51:16.198 /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swift-corelibs-xctest/Tests/Functional/Asynchronous/Expectations/main.swift:32: e
00:51:16.198 ...
00:51:16.198 note: data was truncated
00:51:16.198 note: command had no output on stdout or stderr
00:51:16.198 error: command failed with exit status: 1

00:51:16.224 Failing Tests (1):
00:51:16.224     SwiftXCTestFunctionalTests :: Asynchronous/Expectations/main.swift

Copy link

@belkadan belkadan commented Mar 4, 2019

Copy link

@compnerd compnerd commented Mar 7, 2019

I am also seeing this failure on Windows. Doubling the timeouts on 6 tests was needed for Windows :-(.

Copy link

@stmontgomery stmontgomery commented Mar 21, 2019

Posted a PR with an attempted fix here:


Copy link

@stmontgomery stmontgomery commented Mar 22, 2019

Fixed in


@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

4 participants