diff --git a/cinder_tempest_plugin/scenario/test_encrypted_volume_transfer.py b/cinder_tempest_plugin/scenario/test_encrypted_volume_transfer.py index 7232433..bfe33b2 100644 --- a/cinder_tempest_plugin/scenario/test_encrypted_volume_transfer.py +++ b/cinder_tempest_plugin/scenario/test_encrypted_volume_transfer.py @@ -41,6 +41,8 @@ @classmethod def skip_checks(cls): super(TransferEncryptedVolumeTest, cls).skip_checks() + if not CONF.compute_feature_enabled.attach_encrypted_volume: + raise cls.skipException('Encrypted volume attach is not supported') if not CONF.service_available.barbican: raise cls.skipException('Barbican is required')