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 iface-error-test-1 less flaky #2882

Merged
merged 10 commits into from May 1, 2022
Merged

Make iface-error-test-1 less flaky #2882

merged 10 commits into from May 1, 2022

Conversation

pepeiborra
Copy link
Collaborator

@pepeiborra pepeiborra commented May 1, 2022

Fixes #2879 by ensuring that the barrage of graph builds triggered by the test are observed as deterministically as possible, which amounts to inserting calls to waitForProgressDone and using openDoc instead of createDoc.

While I was there, I also cleaned up a bunch of minor things in the ghcide codebase

ghcide/test/src/Development/IDE/Test.hs Show resolved Hide resolved
ghcide/test/exe/Main.hs Show resolved Hide resolved
@pepeiborra pepeiborra enabled auto-merge (squash) May 1, 2022 15:53
@pepeiborra pepeiborra merged commit e52cffe into master May 1, 2022
sloorush pushed a commit to sloorush/haskell-language-server that referenced this pull request May 21, 2022
* remove duplicate log message

* Fix expectNoMoreDiagnostics

* redundant import

* dead code

* unnecessary do section

* redundant log message

* waitForProgressDone to improve consistency

* redundant import
hololeap pushed a commit to hololeap/haskell-language-server that referenced this pull request Aug 26, 2022
* remove duplicate log message

* Fix expectNoMoreDiagnostics

* redundant import

* dead code

* unnecessary do section

* redundant log message

* waitForProgressDone to improve consistency

* redundant import
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.

ghcide test "iface-error-test-1" is flaky
2 participants