File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -489,20 +489,20 @@ jobs:
489
489
# This might be due to the old kernel shipped with Alma (4.18), or something else between centos/docker.
490
490
run : |
491
491
set -eux
492
- [ "$MODE" = "rootless" ] && {
492
+ if [ "$MODE" = "rootless" ]; then
493
493
echo "rootless"
494
494
docker run -t -v /dev:/dev --rm --privileged test-integration /test-integration-rootless.sh ./hack/test-integration.sh -test.only-flaky=false
495
- } || {
495
+ else
496
496
echo "rootful"
497
497
docker run -t -v /dev:/dev --rm --privileged test-integration ./hack/test-integration.sh -test.only-flaky=false
498
- }
498
+ fi
499
499
- name : " Run integration tests (flaky)"
500
500
run : |
501
501
set -eux
502
- [ "$MODE" = "rootless" ] && {
502
+ if [ "$MODE" = "rootless" ]; then
503
503
echo "rootless"
504
504
docker run -t -v /dev:/dev --rm --privileged test-integration /test-integration-rootless.sh ./hack/test-integration.sh -test.only-flaky=true
505
- } || {
505
+ else
506
506
echo "rootful"
507
507
docker run -t -v /dev:/dev --rm --privileged test-integration ./hack/test-integration.sh -test.only-flaky=true
508
- }
508
+ fi
You can’t perform that action at this time.
0 commit comments