From 1fe0aa07d324c3cf7e5a8ee2ec6e64e07a6509b9 Mon Sep 17 00:00:00 2001 From: utkarshbhatthere Date: Tue, 7 Feb 2023 13:44:49 +0530 Subject: [PATCH] Adds cinder volume in test bundles to replace loopback devices in test. Change-Id: I96b52dda0698d8942a836bd5df0baa3a0e3500ad func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/989 --- tests/bundles/focal-xena.yaml | 2 +- tests/bundles/focal-yoga.yaml | 2 +- tests/bundles/jammy-yoga.yaml | 2 +- tox.ini | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/bundles/focal-xena.yaml b/tests/bundles/focal-xena.yaml index fb86f5a5..4cf0cc70 100644 --- a/tests/bundles/focal-xena.yaml +++ b/tests/bundles/focal-xena.yaml @@ -59,7 +59,7 @@ applications: charm: ../../ceph-osd.charm num_units: 3 storage: - osd-devices: 'cinder,10G' + osd-devices: 'cinder,10G,2' options: osd-devices: '/dev/test-non-existent' source: *openstack-origin diff --git a/tests/bundles/focal-yoga.yaml b/tests/bundles/focal-yoga.yaml index 839e8189..41b6acbb 100644 --- a/tests/bundles/focal-yoga.yaml +++ b/tests/bundles/focal-yoga.yaml @@ -59,7 +59,7 @@ applications: charm: ../../ceph-osd.charm num_units: 3 storage: - osd-devices: 'cinder,10G' + osd-devices: 'cinder,10G,2' options: osd-devices: '/dev/test-non-existent' source: *openstack-origin diff --git a/tests/bundles/jammy-yoga.yaml b/tests/bundles/jammy-yoga.yaml index 0355b2eb..a4a640e8 100644 --- a/tests/bundles/jammy-yoga.yaml +++ b/tests/bundles/jammy-yoga.yaml @@ -59,7 +59,7 @@ applications: charm: ../../ceph-osd.charm num_units: 3 storage: - osd-devices: 'cinder,10G' + osd-devices: 'cinder,10G,2' options: osd-devices: '/dev/test-non-existent' source: *openstack-origin diff --git a/tox.ini b/tox.ini index 2431a75d..98bf885f 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ setenv = VIRTUAL_ENV={envdir} commands = stestr run --slowest {posargs} allowlist_externals = charmcraft - rename.sh + {toxinidir}/rename.sh passenv = HOME TERM