Skip to content

Commit 46c967a

Browse files
committed
fail workloads if current panics
1 parent 39a2cdf commit 46c967a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/slo.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@ jobs:
275275
docker logs -n 15 ydb-app-baseline 2>&1 || echo "No baseline container"
276276
echo ""
277277
278+
if [ "$CURRENT_EXIT" -ne 0 ]; then
279+
echo "ERROR: current workload exited with code $CURRENT_EXIT"
280+
exit 1
281+
fi
278282
echo "SUCCESS: Workloads completed successfully"
279283
280284
- if: always()

0 commit comments

Comments
 (0)