diff --git a/packages/omamobile-audio/test/all b/packages/omamobile-audio/test/all index bc24cd4ea..9d623cc40 100755 --- a/packages/omamobile-audio/test/all +++ b/packages/omamobile-audio/test/all @@ -511,7 +511,10 @@ c9settle() { # name settle steps...: steps are delay_s:temp_bytes, applied in o } c9settle c9-step 1.5 0.2:0x00,0x0a,0x00,0x00 # 25 -> 40 C: the measured value, a step ((rc == 0)) && ! muted && grep -c 's into a stream' "$r/watch.out" >/dev/null || { cat "$r/watch.out" >&2; fail "watchdog: in stage c9 the step from the reference to the measured coil does not mute"; } -c9settle c9-rise 0.6 0.2:0x00,0x08,0x40,0x00 1.2:0x00,0x0a,0x40,0x00 # 25 -> 33 in the window, then 33 -> 41 C +# The settle window leaves a second either side: on a loaded machine (CI, the +# nightly publish) the step to 33 C once landed after a 0.6 s baseline was +# taken, so the watchdog saw 25 -> 41 and the test failed for timing alone. +c9settle c9-rise 1.0 0.0:0x00,0x08,0x40,0x00 2.0:0x00,0x0a,0x40,0x00 # 25 -> 33 in the window, then 33 -> 41 C ((rc == 1)) && muted && grep -c 'jumped 8.0 C (33.0 -> 41.0)' "$r/run/speaker-protection" >/dev/null || { cat "$r/watch.out" >&2; fail "watchdog: in stage c9 a rise of 8 C above the measured value mutes"; } c9settle c9-cold 0.4 1.5:0x00,0x07,0xc0,0x00 # no step: the baseline at 0.4 s, then 25 -> 31 C ((rc == 1)) && muted && grep -c 'jumped 6.0 C' "$r/run/speaker-protection" >/dev/null || { cat "$r/watch.out" >&2; fail "watchdog: in stage c9 a 6 C rise after the settle window mutes"; }