Skip to content

Commit 75739e7

Browse files
committed
Fix[IT]: test_admin_command_routing: skip tests (and report) instead of returning
Signed-off-by: JEAN-LOUIS "JL" LEROY <[email protected]>
1 parent c57c516 commit 75739e7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
export GOPATH=$HOME/go
199199
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
200200
pip install -r ${{ github.workspace }}/src/python/requirements.txt
201-
ret=${{ github.workspace }}/src/integration-tests/run-tests \
201+
${{ github.workspace }}/src/integration-tests/run-tests \
202202
"${{ matrix.mode }} and ${{ matrix.cluster }} and ${{ matrix.consistency }}" \
203203
--log-level ERROR \
204204
--log-file-level=info \
@@ -210,11 +210,12 @@ jobs:
210210
--reruns=3 \
211211
--durations=0 \
212212
-n logical -v -rs
213-
if [ "$ret" = 5 ]; then
213+
rc=$?
214+
if [ "$rc" = 5 ]; then
214215
echo "No tests collected. Exiting with 0."
215216
exit 0
216217
fi
217-
exit "$ret"
218+
exit $rc
218219
- name: Print core information
219220
if: failure()
220221
run: |

0 commit comments

Comments
 (0)