Closed nathansobo closed 5 years ago
Force-pushed and updated the PR body with a new hypothesis.
Thank you!! I've been wrangling with this so much. Should close #973, right?
Yep. In the future you should always feel free to just close a linked issue that I miss on your own. Thanks for the heads up though! Closes #973.
This PR attempts intermittent failures of tests that interact with snippets. I think these failures are caused by the following race condition:
snippets
package first.language-test
package asynchronously in awaitsFor
block.waitsFor
block runs before the async function that reads loaded packages in thesnippets
package, but this isn't guaranteed.waitsFor
block runs after the async code in the snippets package, snippets from thelanguage-test
package are never loaded and the tests fail.I think this what is happening. Hopefully I am right and CI will pass now. 🤞