Open RustanLeino opened 2 weeks ago
Since this only/mostly occurs on Windows machines, this might just be an honest timeout, where the Windows machines is slower and that's why the test has a chance of timing out. Next step is to check how long the test takes on Windows machines when it does pass, and possibly incrementing the timeout value or reducing the amount of work
What is setting that time out? Why is a time out set on the CI test suite?
Why is a time out set on the CI test suite?
That's standard for any automated test, so that when you make a mistake the CI does not go on endlessly
What is setting that time out?
The default timeout is 50 seconds. Configured here: https://github.com/dafny-lang/dafny/blob/master/Source/DafnyLanguageServer.Test/DafnyLanguageServerTestBase.cs#L63
new JsonRpcTestOptions
has a CancellationTimeout
property whose default value is 50seconds.
Dafny version
master branch, 2 Nov 2024
Code to produce this issue
Command to run and resulting output
What happened?
CI on github fails. The error only happens sometimes, so I will probably be able to work around it by re-running the CI job.
What type of operating system are you experiencing the problem on?
Windows