Skip to content

Commit 81443a4

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 81443a4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 7 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 \
@@ -209,12 +209,7 @@ jobs:
209209
--tb long \
210210
--reruns=3 \
211211
--durations=0 \
212-
-n logical -v -rs
213-
if [ "$ret" = 5 ]; then
214-
echo "No tests collected. Exiting with 0."
215-
exit 0
216-
fi
217-
exit "$ret"
212+
-n logical -v -rs || [ $? -eq 5 ]
218213
- name: Print core information
219214
if: failure()
220215
run: |

0 commit comments

Comments
 (0)