]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: bump varlinkctl timeout in TEST-87-AUX-UTILS-VM.vmspawn
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 25 May 2026 11:55:56 +0000 (12:55 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 25 May 2026 11:58:04 +0000 (12:58 +0100)
10s is too short for flaky/overloaded CI, and it sometimes fails

Follow-up for d32bc9cd07e61e852c624f228dda8669f540bf6d

test/units/TEST-87-AUX-UTILS-VM.vmspawn.sh

index 52de5b2f208f9fbea709558ea6ab2ff3b12a230e..faf767df4e439e3924a9850cb9851a49380b94ab 100755 (executable)
@@ -144,7 +144,7 @@ echo "Verified resumed state via Describe"
 
 # --- SubscribeEvents tests ---
 # Subscribe to all events in the background, collect output
-varlinkctl call --more --timeout=10 "$VARLINK_ADDR" io.systemd.MachineInstance.SubscribeEvents '{}' \
+varlinkctl call --more --timeout=60 "$VARLINK_ADDR" io.systemd.MachineInstance.SubscribeEvents '{}' \
     >"$WORKDIR/events-all.json" 2>&1 &
 SUBSCRIBE_ALL_PID=$!
 sleep 0.5
@@ -169,7 +169,7 @@ grep >/dev/null '"RESUME"' "$WORKDIR/events-all.json"
 echo "SubscribeEvents received STOP and RESUME events"
 
 # Test filtered subscription: only STOP events
-varlinkctl call --more --timeout=10 "$VARLINK_ADDR" io.systemd.MachineInstance.SubscribeEvents '{"filter":["STOP"]}' \
+varlinkctl call --more --timeout=60 "$VARLINK_ADDR" io.systemd.MachineInstance.SubscribeEvents '{"filter":["STOP"]}' \
     >"$WORKDIR/events-filtered.json" 2>&1 &
 SUBSCRIBE_FILTER_PID=$!
 sleep 0.5