Skip to content

Wait for indexstore-db to update after building a SwiftPM project in tests #1188

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

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Apr 18, 2024

Otherwise we can get into race conditions where we run a request before the index has actually been updated.

While at it, also add logging when IndexStoreDB has been updated.

rdar://126635046

@ahoppen ahoppen requested a review from bnbarham April 18, 2024 23:18
@ahoppen ahoppen requested a review from benlangmuir as a code owner April 18, 2024 23:18
@ahoppen
Copy link
Member Author

ahoppen commented Apr 18, 2024

@swift-ci Please test

…tests

Otherwise we can get into race conditions where we run a request before the index has actually been updated.

While at it, also add logging when IndexStoreDB has been updated.

rdar://126635046
@ahoppen ahoppen force-pushed the poll-index-after-build-in-tests branch from 64b626e to fc8a730 Compare April 19, 2024 03:49
@ahoppen
Copy link
Member Author

ahoppen commented Apr 19, 2024

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Apr 19, 2024

@swift-ci Please test Windows

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Apr 19, 2024

@swift-ci Please test Windows

@ahoppen ahoppen merged commit f9ce7ae into swiftlang:main Apr 23, 2024
3 checks passed
@ahoppen ahoppen deleted the poll-index-after-build-in-tests branch April 23, 2024 06:00
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