eclipse-langium / langium

Next-gen language engineering / DSL framework
https://langium.org/
MIT License
663 stars 61 forks source link

Fix intermittent testing failure #1498

Open msujew opened 1 month ago

msujew commented 1 month ago

In some of our CI runs (see here), the workspace lock test fails due to minor timing issues in the runtime. This change makes the test a bit more lenient regarding minor inaccuracies in the setTimeout mechanism.

JohannesMeierSE commented 1 month ago

While working on something else, I just faced this issue, where I got the "magical number 9":

Screenshot 2024-05-16 at 09 47 09

Therefore, approved from my side 🙂