-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Description
Various DAP tests are specifying their own timeouts, with values ranging from "1" to "20". Most of them seem arbitrary, but some come with a comment. Even when they're supposed to be intentional, I'm skeptical that they're beneficial. The performance characters of running these tests in CI are unpredictable (they generally run much slower than developers expect) and really not something we can make assumptions about. I suspect these timeouts are a contributing factor to the flakiness of the DAP tests.
Given the nature of DAP, using some kind of timeout is unavoidable. We should have a single (probably really big) timeout in the server, and abstract this away for test authors. This will make it harder to quickly catch timeouts during development, but that's something that can be addressed by either overwriting the timeout value for local development or setting the per-test lit timeout.