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

Make testImplicitCancellationOnEdit more robust #2008

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Feb 26, 2025

Instead of adding an arbitrary Task.sleep that should give us enough time to send the textDocument/didChange notification, wait until we receive the cancellation from the document change.

@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test

@ahoppen ahoppen enabled auto-merge February 26, 2025 01:56
Instead of adding an arbitrary `Task.sleep` that should give us enough time to send the `textDocument/didChange` notification, wait until we receive the cancellation from the document change.
@ahoppen ahoppen force-pushed the testimplicitcancellation branch from cf8492a to 9ceedcd Compare February 26, 2025 04:37
@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Feb 26, 2025

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 3e7f350 into swiftlang:main Feb 26, 2025
3 checks passed
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