fix(framework): support portable doctor timeout (#1194)
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
coder3
2026-08-13 02:36:33 -05:00
parent 8b97d3ee7b
commit f01be762af
@@ -167,7 +167,7 @@ if [[ -f "$framework_drift_checker" ]]; then
fi fi
if command -v timeout >/dev/null 2>&1; then if command -v timeout >/dev/null 2>&1; then
set +e set +e
timeout --signal=TERM --kill-after=2 "${drift_timeout}s" \ timeout -s TERM -k 2 "${drift_timeout}s" \
python3 "$framework_drift_checker" --installed-root "$MOSAIC_HOME/tools" python3 "$framework_drift_checker" --installed-root "$MOSAIC_HOME/tools"
drift_rc=$? drift_rc=$?
set -e set -e