Enable test_secret_stores tests
This patch enables test_secret_stores tests in the SRBAC job. The tests
were previously fixed in this patch [1].
This change builds on the fix. It modifies the configuration of
the SRBAC job so that it is deployed with enabled multiple secret
stores.
[1] https://review.opendev.org/c/openstack/barbican-tempest-plugin/+/883482
Change-Id: I60305a35528fd16ac4e995d11d6d0999a6440e44
diff --git a/.zuul.yaml b/.zuul.yaml
index d60cc74..20f9f31 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -128,12 +128,21 @@
oslo_policy:
enforce_new_defaults: True
enforce_scope: True
+ secretstore:
+ enable_multiple_secret_stores: True
+ stores_lookup_suffix: simple_crypto
+ secretstore:simple_crypto:
+ secret_store_plugin: store_crypto
+ crypto_plugin: simple_crypto
+ global_default: true
test-config:
$TEMPEST_CONFIG:
auth:
tempest_roles: member
barbican_rbac_scope_verification:
enforce_scope: True
+ barbican_tempest:
+ enable_multiple_secret_stores: True
- job:
name: barbican-tempest-plugin-simple-crypto-secure-rbac-yoga
diff --git a/barbican_tempest_plugin/tests/rbac/v1/test_secret_stores.py b/barbican_tempest_plugin/tests/rbac/v1/test_secret_stores.py
index 2e637d8..6c12624 100644
--- a/barbican_tempest_plugin/tests/rbac/v1/test_secret_stores.py
+++ b/barbican_tempest_plugin/tests/rbac/v1/test_secret_stores.py
@@ -92,11 +92,6 @@
@classmethod
def skip_checks(cls):
- """TODO(redrobot): Run this with multiple backends
-
- We need to set up the devstack plugin to use multiple backends
- so we can run these tests.
- """
super().skip_checks()
if not CONF.barbican_tempest.enable_multiple_secret_stores:
raise cls.skipException("enable_multiple_secret_stores is not "