Skip to content

Commit 8bb4e9a

Browse files
committed
Disable cleanup for upload_img tests
1 parent 2092469 commit 8bb4e9a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/publiccloud/upload_image.pm

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ sub run {
6060
$provider->upload_img($img_name);
6161
}
6262

63+
sub _cleanup {
64+
# because it is upload_img we don't have instance created hence clasical cleanup does not make sense
65+
#TODO: nevertheless we can implement here upload of logs related to image upload process per provider
66+
}
67+
6368
sub test_flags {
6469
# in case of migration this is not single module so we need to skip cleanup
6570
return {fatal => 1, publiccloud_multi_module => 1} if (get_var('PUBLIC_CLOUD_MIGRATION'));
@@ -72,4 +77,3 @@ sub test_flags {
7277
7378
OpenQA script to upload images into public cloud. This test module is only
7479
added if PUBLIC_CLOUD_IMAGE_LOCATION is set.
75-

0 commit comments

Comments
 (0)