Skip to content

Commit

Permalink
test: Skip shimv2 on openSUSE Leap
Browse files Browse the repository at this point in the history
Currently shimv2 tests are not working on openSUSE Leap
(kata-containers#1251).

Fixes kata-containers#1252

Signed-off-by: Gabriela Cervantes <[email protected]>
  • Loading branch information
GabyCT committed Feb 27, 2019
1 parent 54e02fb commit 102918d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions integration/containerd/shimv2/shimv2-factory-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")

source "${SCRIPT_PATH}/../../../metrics/lib/common.bash"
source /etc/os-release || source /usr/lib/os-release
extract_kata_env

if [[ "$ID" =~ ^opensuse.*$ ]]; then
issue="https://github.com/kata-containers/tests/issues/1251"
echo "Skip shimv2 on $ID, see: $issue"
exit
fi

if [ -z $INITRD_PATH ]; then
echo "Skipping vm templating test as initrd is not set"
exit 0
Expand Down
6 changes: 6 additions & 0 deletions integration/containerd/shimv2/shimv2-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ echo "========================================"
echo " start shimv2 testing"
echo "========================================"

if [[ "$ID" =~ ^opensuse.*$ ]]; then
issue="https://github.com/kata-containers/tests/issues/1251"
echo "Skip shimv2 on $ID, see: $issue"
exit
fi

if [ "$ID" != "centos" ]; then
${SCRIPT_PATH}/../cri/integration-tests.sh
else
Expand Down

0 comments on commit 102918d

Please sign in to comment.