Skip to content

Commit f611ab0

Browse files
committed
fix, properly capture scenario exit code, correct sdk path
1 parent 3c55e17 commit f611ab0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/nightly-throughput-stress.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ jobs:
117117
118118
- name: Run throughput stress scenario with local SDK
119119
working-directory: omes
120+
continue-on-error: true
120121
run: |
121-
set +e # Don't fail immediately on error
122-
123122
# Use run-scenario-with-worker to build and run in one step
124123
# Pass the SDK directory as --version for local testing
125124
# Note: The hardcoded values below match OMES defaults, except:
@@ -128,7 +127,7 @@ jobs:
128127
go run ./cmd run-scenario-with-worker \
129128
--scenario throughput_stress \
130129
--language python \
131-
--version $(pwd)/../sdk-python \
130+
--version $(pwd)/.. \
132131
--run-id $RUN_ID \
133132
--duration $TEST_DURATION \
134133
--timeout $TEST_TIMEOUT \
@@ -140,7 +139,7 @@ jobs:
140139
--option min-throughput-per-hour=1000 \
141140
2>&1 | tee $WORKER_LOG_DIR/scenario.log
142141
143-
SCENARIO_EXIT_CODE=$?
142+
SCENARIO_EXIT_CODE=${PIPESTATUS[0]}
144143
echo "SCENARIO_EXIT_CODE=$SCENARIO_EXIT_CODE" >> $GITHUB_ENV
145144
exit $SCENARIO_EXIT_CODE
146145

0 commit comments

Comments
 (0)