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

Fix non-deterministic test failure in BackgroundIndexingTests.testPrepareTarget #1317

Merged
merged 1 commit into from
May 20, 2024

Conversation

ahoppen
Copy link
Collaborator

@ahoppen ahoppen commented May 17, 2024

We could get DocumentDiagnosticsRequest triggered from file changes or old preparation operations during the initial build without actually having re-prepared the target after the file change. Make the test wait until it receives expected diagnostics after the file change.

…epareTarget`

We could get `DocumentDiagnosticsRequest` triggered from file changes or old preparation operations during the initial build without actually having re-prepared the target after the file change. Make the test wait until it receives expected diagnostics after the file change.
@ahoppen
Copy link
Collaborator Author

ahoppen commented May 17, 2024

@swift-ci Please test

@ahoppen
Copy link
Collaborator Author

ahoppen commented May 17, 2024

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 0ce2107 into apple:main May 20, 2024
3 checks passed
@ahoppen ahoppen deleted the prepare-target-test-failure branch May 20, 2024 16:44
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.

None yet

3 participants