Commit 3836a38c authored by Jim Fehlig's avatar Jim Fehlig

Cleanup secret in disk encryption test

100-disk-encryption.t does not undefine the secret it defines
for the test disk, causing subsequent runs of the test to fail

not ok 1 - secret created
 Failed test 'secret created'
 at /usr/share/libvirt-tck/tests/qemu/100-disk-encryption.t line 65.
died: Sys::Virt::Error (libvirt error code: 1, message: internal error: a
secret with UUID 212c459b-b02c-41fc-8ae2-714cc31612c5 is already defined
for use with /var/cache/libvirt-tck/300-disk-encryption/demo.qcow2
Signed-off-by: Jim Fehlig's avatarJim Fehlig <jfehlig@suse.com>
Reviewed-by: 's avatarDaniel P. Berrangé <berrange@redhat.com>
parent 3ecb368e
...@@ -118,3 +118,5 @@ $dom->undefine; ...@@ -118,3 +118,5 @@ $dom->undefine;
ok_error(sub { $conn->get_domain_by_name("tck") }, "NO_DOMAIN error raised from missing domain", 42); ok_error(sub { $conn->get_domain_by_name("tck") }, "NO_DOMAIN error raised from missing domain", 42);
} }
$secret->undefine;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment