DescriptionMake some pkg tests less timing-dependent.
Testing should not depend on how long it takes to get a response from the
analysis server.
Depending on how long an analysis step takes, these tests will randomly fail
e.g. when run in -mdebug mode, or with other VM flags that change (i.e. slow-down)
timing (--trace-compiler, --optimization-counter-threshold=5"
There are probably more problematic places like this. I just fixed the ones that
I saw failing when running with --optimization-counter-threshold=5.
BUG=#26556
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/2a6847de417ee88ed6e7ec55cf26d262d289d451
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|