Skip to content

Conversation

mbrandonw
Copy link
Member

No description provided.

@mbrandonw mbrandonw requested a review from stephencelis March 6, 2023 17:35
XCTAssertEqual(value, true)
}

func testTestContext_Cancellation() async throws {
Copy link
Member Author

Choose a reason for hiding this comment

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

this test failed without the change.

$0.date.now = Date(timeIntervalSince1970: 1_234_567_890)
} operation: {
let date = ActorIsolated<Date?>(nil)
#if !os(Linux)
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm able to reproduce this test hang locally but couldn't figure it out easily so just punting on it for now. maybe a linux concurrency bug :/

@mbrandonw mbrandonw merged commit aa3bf22 into main Mar 6, 2023
@mbrandonw mbrandonw deleted the fire-and-forget-cancellation branch March 6, 2023 21:32
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