Codebase list cinder-tempest-plugin / 2b649c9
Use the proper condition for volume encryption transfer tests Like all other volume encryption tests (with attachment or boot from volume), make sure that also the volume encryption transfer tests are executed only when the appropriate configuration key (compute_feature_enabled.attach_encrypted_volume) is set. Change-Id: I21014b915dbecd0abaabb214f18f5241cc7c5b47 Luigi Toscano 1 year, 8 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4040 @classmethod
4141 def skip_checks(cls):
4242 super(TransferEncryptedVolumeTest, cls).skip_checks()
43 if not CONF.compute_feature_enabled.attach_encrypted_volume:
44 raise cls.skipException('Encrypted volume attach is not supported')
4345 if not CONF.service_available.barbican:
4446 raise cls.skipException('Barbican is required')
4547