Merge "Fix class inheritances in base.py"
diff --git a/manila_tempest_tests/services/share/json/shares_client.py b/manila_tempest_tests/services/share/json/shares_client.py
index f7b3694..0370f15 100644
--- a/manila_tempest_tests/services/share/json/shares_client.py
+++ b/manila_tempest_tests/services/share/json/shares_client.py
@@ -425,6 +425,11 @@
self.expected_success(200, resp.status)
return self._parse_resp(body)
+ def get_metadata_item(self, share_id, key):
+ resp, body = self.get("shares/%s/metadata/%s" % (share_id, key))
+ self.expected_success(200, resp.status)
+ return self._parse_resp(body)
+
###############
def create_security_service(self, ss_type="ldap", **kwargs):
diff --git a/manila_tempest_tests/tests/api/test_metadata.py b/manila_tempest_tests/tests/api/test_metadata.py
index 5c4c05d..879a1c3 100644
--- a/manila_tempest_tests/tests/api/test_metadata.py
+++ b/manila_tempest_tests/tests/api/test_metadata.py
@@ -67,6 +67,11 @@
# verify metadata
self.assertEqual(md, get_md)
+ # verify metadata items
+ for key in md:
+ get_value = self.shares_client.get_metadata_item(share["id"], key)
+ self.assertEqual(md[key], get_value[key])
+
# delete metadata
for key in md.keys():
self.shares_client.delete_metadata(share["id"], key)
diff --git a/zuul.d/manila-tempest-stable-jobs.yaml b/zuul.d/manila-tempest-stable-jobs.yaml
new file mode 100644
index 0000000..42d08d6
--- /dev/null
+++ b/zuul.d/manila-tempest-stable-jobs.yaml
@@ -0,0 +1,19 @@
+# Stable branch jobs to test the trunk version of manila-tempest-plugin against
+# released stable branches of manila
+- job:
+ name: manila-tempest-plugin-lvm-wallaby
+ parent: manila-tempest-plugin-lvm
+ override-checkout: stable/wallaby
+ nodeset: openstack-single-node-focal
+
+- job:
+ name: manila-tempest-plugin-lvm-victoria
+ parent: manila-tempest-plugin-lvm
+ override-checkout: stable/victoria
+ nodeset: openstack-single-node-focal
+
+- job:
+ name: manila-tempest-plugin-lvm-ussuri
+ parent: manila-tempest-plugin-lvm
+ override-checkout: stable/ussuri
+ nodeset: openstack-single-node-bionic
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index d49b8fb..bfeaa7b 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -7,6 +7,9 @@
- manila-tempest-plugin-dummy-no-dhss
- manila-tempest-plugin-dummy-dhss
- manila-tempest-plugin-lvm
+ - manila-tempest-plugin-lvm-wallaby
+ - manila-tempest-plugin-lvm-victoria
+ - manila-tempest-plugin-lvm-ussuri
- manila-tempest-plugin-zfsonlinux:
voting: false
- manila-tempest-plugin-cephfs-native: