Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 12, 2025

I suspect that we don’t wait for TestSourceKitLSPClient to finish deinitializing (and thus waiting for the shutdown response) when we destroy it in tearDown based on the logs in https://ci.swift.org/job/oss-swift-incremental-RA-macos-apple-silicon/9004 (rdar://160344405).

Since I generally dislike the setUp and tearDown methods and we have CustomBuildServerTestProject now to model a setup of a SourceKitLSP server with a custom build server, use that instead of manually hooking up the build server through a workspace.

I suspect that we don’t wait for `TestSourceKitLSPClient` to finish deinitializing (and thus waiting for the shutdown response) when we destroy it in `tearDown` based on the logs in https://ci.swift.org/job/oss-swift-incremental-RA-macos-apple-silicon/9004 (rdar://160344405).

Since I generally dislike the `setUp` and `tearDown` methods and we have `CustomBuildServerTestProject` now to model a setup of a SourceKitLSP server with a custom build server, use that instead of manually hooking up the build server through a workspace.
@ahoppen
Copy link
Member Author

ahoppen commented Sep 12, 2025

@swift-ci Please test

@ahoppen ahoppen merged commit 346c978 into swiftlang:main Sep 13, 2025
3 checks passed
@ahoppen ahoppen deleted the custom-build-server-test-project branch September 13, 2025 09:55
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