You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance LSP Testing Strategy for Better Reliability (#5764)
## Description
This PR refines our testing approach for `sway-lsp` to ensure tests run
sequentially, addressing potential async test interference. Key
enhancements include:
- Implemented a `run_async` macro to facilitate running async tests
within a synchronous environment, minimizing the boilerplate code and
improving test readability.
- Updated the GitHub Actions workflow to include a dedicated job for
`sway-lsp`, utilizing `-p sway-lsp -- --test-threads=1` to enforce
sequential execution of tests. This removes LSP tests from the
`cargo-test-workspace` job.
0 commit comments