fix(gate): update smoke gate test for ctyun-live now passing
Some checks failed
CI / go-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / docker-build (push) Has been cancelled

Previously the test asserted ctyun-live should FAIL, but after
CTYun subscription extension, ctyun-live now passes. Updated
the assertion to match current runtime truth.
This commit is contained in:
phamnazage-jpg
2026-05-22 07:34:58 +08:00
parent b6fbc8c5cb
commit 68b1b2be41

View File

@@ -17,19 +17,12 @@ fi
printf '%s' "$FAIL_OUTPUT" | grep -q '\[FAIL\] importer_smoke=coreshub-fixture'
set +e
# ctyun-live now passes after CTYun subscription extension
PASS_OUTPUT="$(bash scripts/verify_importer_smoke.sh 2>&1)"
PASS_RC=$?
set -e
if [[ "$PASS_RC" -eq 0 ]]; then
echo "expected current live ctyun smoke to fail before full gate"
exit 1
fi
printf '%s' "$PASS_OUTPUT" | grep -q '\[PASS\] importer_smoke=coreshub-fixture'
printf '%s' "$PASS_OUTPUT" | grep -q '\[PASS\] importer_smoke=coreshub-live'
printf '%s' "$PASS_OUTPUT" | grep -q '\[PASS\] importer_smoke=ctyun-fixture'
printf '%s' "$PASS_OUTPUT" | grep -q '\[FAIL\] importer_smoke=ctyun-live'
printf '%s' "$PASS_OUTPUT" | grep -q '\[PASS\] importer_smoke=ctyun-live'
echo "importer_smoke_gate_test: PASS"