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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user