mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
4c1e71fa0b
* Reduce the flakiness of TestAsyncRuleEvaluation This tests sleeps for 15 millisecond per rule group, and then comprares the entire execution time to be smaller than a multiple of that delay. The ruleCount is 6, so it assumes that the test will come to the assertions in less than 90ms. Meanwhile, the Github's Windows runner: - ...Huh, oh? What? How much time? milliwhat? Sorry I don't speak that. TL;DR, this increases the delay to 250 millisecond. This won't prevent the test from being flaky, but will reduce the flakiness by several orders of magnitude and hopefully won't be an issue anymore. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Make tests parallel Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> --------- Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> |
||
---|---|---|
.. | ||
fixtures | ||
alerting_test.go | ||
alerting.go | ||
group_test.go | ||
group.go | ||
manager_test.go | ||
manager.go | ||
origin_test.go | ||
origin.go | ||
recording_test.go | ||
recording.go | ||
rule.go |