From 68b1b2be41e5b41e25476107b2b968bb633f9171 Mon Sep 17 00:00:00 2001 From: phamnazage-jpg Date: Fri, 22 May 2026 07:34:58 +0800 Subject: [PATCH] fix(gate): update smoke gate test for ctyun-live now passing 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. --- scripts/importer_smoke_gate_test.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/importer_smoke_gate_test.sh b/scripts/importer_smoke_gate_test.sh index e8859b3..fa13238 100755 --- a/scripts/importer_smoke_gate_test.sh +++ b/scripts/importer_smoke_gate_test.sh @@ -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"