Files
tinygo/testdata
deadprogram 944176beef testdata: fix flaky timers test by draining ticker channel after Stop
Ticker.Stop does not drain already-buffered ticks from the channel,
so on slow CI runners a tick may already be queued before Stop takes
effect, causing a spurious "fail: ticker should have stopped!" failure.

Drain the channel immediately after Stop before checking that no new
ticks arrive.

Signed-off-by: deadprogram <ron@hybridgroup.com>
2026-04-18 15:38:13 +01:00
..
2019-09-20 10:35:49 +02:00
2019-09-20 10:35:49 +02:00
2023-04-11 18:54:05 -07:00
2026-04-09 16:19:33 +01:00
2021-04-09 18:33:48 +02:00
2024-05-13 16:49:18 +02:00
2021-04-09 18:33:48 +02:00
2021-04-09 18:33:48 +02:00
2024-12-01 11:12:00 +01:00
2024-11-30 11:55:22 +01:00
2024-10-23 12:25:27 +01:00
2024-10-23 12:25:27 +01:00
2020-10-23 21:37:35 +02:00
2020-10-23 21:37:35 +02:00
2019-10-13 23:07:47 +02:00
2019-10-13 23:07:47 +02:00
2023-08-04 11:59:11 +02:00
2024-10-19 16:00:45 +01:00
2024-10-19 16:00:45 +01:00
2024-10-19 16:00:45 +01:00
2020-05-12 01:17:27 +02:00