mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-26 10:07:34 -05:00
"doesn't trigger twice simultaneously" slept 100ms and assumed the first run had started by then. On a busy CI runner the 50ms debounce timer can fire later. The second Debounce then only resets the pending timer, both calls collapse into one run and the count never reaches 2: [FAILED] Timed out after 2.001s. Expected <int>: 1 to equal <int>: 2 The run now blocks on a channel until the test releases it. We wait for the first run to start, check that the second debounce does not start another run while it is in progress, then release it and expect the second run. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>