add option to skip tests in critest
Signed-off-by: Akhil Mohan <akhilerm@gmail.com> (cherry picked from commit 4ba3d82ca270937a428d4b6c006bd7e9f8261743) (cherry picked from commit 8e6c93b6b057230915b449349836bf198f8ebcfe) Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
parent
ea7be04cb4
commit
4bcf472de6
@ -70,6 +70,11 @@ if [ ! -z "$CGROUP_DRIVER" ] && [ "$CGROUP_DRIVER" = "systemd" ];then
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
GINKGO_SKIP_TEST=()
|
||||||
|
if [ ! -z "$SKIP_TEST" ]; then
|
||||||
|
GINKGO_SKIP_TEST+=("--ginkgo.skip" "$SKIP_TEST")
|
||||||
|
fi
|
||||||
|
|
||||||
ls /etc/cni/net.d
|
ls /etc/cni/net.d
|
||||||
|
|
||||||
/usr/local/bin/containerd \
|
/usr/local/bin/containerd \
|
||||||
@ -85,4 +90,4 @@ do
|
|||||||
crictl --runtime-endpoint ${BDIR}/c.sock info && break || sleep 1
|
crictl --runtime-endpoint ${BDIR}/c.sock info && break || sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8 "${EXTRA_CRITEST_OPTIONS:-""}"
|
critest --report-dir "$report_dir" --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8 "${GINKGO_SKIP_TEST[@]}" "${EXTRA_CRITEST_OPTIONS:-""}"
|
||||||
|
Loading…
Reference in New Issue
Block a user