-
-
Notifications
You must be signed in to change notification settings - Fork 396
Retry tests on SQLError #1752
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
Retry tests on SQLError #1752
Conversation
eacba69
to
bccb44e
Compare
It seems that
EDIT: this problem also arose in #1628, but |
I suspect the test was aborted because of OOM: https://github.com/haskell/haskell-language-server/pull/1752/checks?check_run_id=2376999816 Actually I observed that the memory usage of tactics plugin test suite increased significantly in #1628, where I couldn't run full test on my machine. But it got improved as I tried to recompile all packages with enable-profiling flags 🤔 |
I will need some time to investigate if the test suite OOMs after this change, probably won't happen until next weekend UPDATE: It's currently using 85G and still running, so definitely something going on here. Massive space leak? |
I think those lines denote tests that failed because of the Even if the test report is being a little dirty, I prefer not to silence the output since that will make test debugging much harder. Imho the silencing should be done by the test framework, and then the full output of test failures included at the end of the test report. I'm not a tasty expert so I don't know whether it supports this feature, either directly or via some plugin. |
This is so that we can catch SQLError for retrying
I'll rebase this when the new his-graph implementation lands |
This seems to be less of a problem these days, so closing |
The PR does a few things:
runServerWithHandles
SQLError
, after a 1s sleep. This should hopefully help with Non-deterministic CI test failures #1430setCurrentDirectory
:This turned out to be due to haskell/lsp#326