diff --git a/scripts/it-smoke.sh b/scripts/it-smoke.sh index 2f2c71b..413d3a8 100755 --- a/scripts/it-smoke.sh +++ b/scripts/it-smoke.sh @@ -379,6 +379,19 @@ features_check() { # TeamSpeak 6: an engine session streams; its stream registers in the # gateway's directory; a viewer that connects later finds it and watches it. +# +# Known to flake, not fixed: voelinctl engine ends the viewer as soon as it has +# the 30 frames (--expect-frames), and the `"title":"..."` line this checks is +# printed only when the viewer's own gateway session got connected and told +# of the directory before that. When the gateway session is still +# `observe=Connecting` at the 30th frame (seen once in three runs of the +# smoke, with the stream watched and the stream listed through TeamSpeak 6's +# own listing, `streams: ...`), the check fails with "the directory did not +# list the stream". The config_set of the gateway stage once failed ("expected +# output did not appear") with its engine still `observe=Connecting` too; +# that was not looked into. A fix for this one +# belongs in voelinctl (end the viewer on both), not here; see +# docs/testing/load.md. directory_check() { local svc=$1 addr=$2 url=$3 user=$4 streamer="dir-$$-$RANDOM" title="directory-$RANDOM" local out="$STATE_DIR/directory-stream.log" viewer_out="$STATE_DIR/directory-watch.log"