aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHongbin Lu <hongbin034@gmail.com>2021-09-07 19:55:47 +0800
committerHongbin Lu <hongbin034@gmail.com>2021-09-07 21:09:55 +0800
commit21b4dc541662f08ef8dcc166c51c628aed32e85e (patch)
treece831def500a0358fa629d29ccd050c421fc5da1 /tests
parentc48469d2acd549928961b0e7e4498076346dda7a (diff)
downloadkolla-ansible-21b4dc541662f08ef8dcc166c51c628aed32e85e.tar.gz
kolla-ansible-21b4dc541662f08ef8dcc166c51c628aed32e85e.zip
Zun: Temporarily skip capsule test for ubuntu
Related-Bug: #1941982 Change-Id: I0e03db1177931ee6d17b21f614573575c3493eef
Diffstat (limited to 'tests')
-rw-r--r--tests/run.yml2
-rwxr-xr-xtests/test-zun.sh6
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/run.yml b/tests/run.yml
index b365b3c41..80b853ff4 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -391,6 +391,8 @@
executable: /bin/bash
chdir: "{{ kolla_ansible_src_dir }}"
when: scenario == 'zun'
+ environment:
+ BASE_DISTRO: "{{ base_distro }}"
- name: Run test-swift.sh script
script:
diff --git a/tests/test-zun.sh b/tests/test-zun.sh
index cca4df4e3..334bdd6f9 100755
--- a/tests/test-zun.sh
+++ b/tests/test-zun.sh
@@ -99,6 +99,12 @@ function test_zun_logged {
openstack volume delete zun_test_volume
echo "SUCCESS: Zun Cinder volume attachment"
+ # NOTE(hongbin): temporarily skip capsule test due to #1941982
+ # See https://bugs.launchpad.net/zun/+bug/1941982
+ if [[ $BASE_DISTRO =~ ^(debian|ubuntu)$ ]]; then
+ return 0
+ fi
+
echo "TESTING: Zun capsule"
cat >/tmp/capsule.yaml <<EOF
capsuleVersion: beta