Remove some skipTest in FT

Reactivate the next two FTs which have been skipped for a while:
* vnfm.test_tosca_vnf.VnfTestToscaCreateImageCreation/
  test_create_delete_vnf_tosca_no_monitoring:
  - should've been done when Change 634372 was merged
* tacker.tests.functional.vnfm.test_vnfm_param.VnfmTestParam/
  test_vnf_param_with_artifacts_image_tosca_template
  - BUG 1847188 is still open and no useful comments have been posted,
    while I made sure it works fine at the moment.

Note that the following one, which is the only FT [1] still being
explicitly skipped, cannot be reactivated. The downlink bandwidth
limitation seems to still exist.
* tacker.tests.functional.vnfm.test_tosca_vnfc.VnfTestToscaVNFC/
  test_create_delete_tosca_vnfc

[1] except k8s VIM-related ones

Change-Id: I99a2e43a564c4e8586f4427be8e62b62359c23a9
This commit is contained in:
Koichiro Den 2020-11-17 15:24:38 +09:00
parent 46147ae064
commit 8a260a0fb9
2 changed files with 5 additions and 7 deletions

View File

@ -13,9 +13,9 @@
# under the License.
import time
import unittest
import yaml
from glanceclient import exc
from novaclient import exceptions
from oslo_config import cfg
@ -180,7 +180,6 @@ class VnfTestToscaCreateFlavorCreation(base.BaseTackerTest):
class VnfTestToscaCreateImageCreation(base.BaseTackerTest):
@unittest.skip("Until BUG 1673099")
def test_create_delete_vnf_tosca_no_monitoring(self):
vnf_name = 'tosca_vnfd_with_auto_image'
vnfd_file = 'sample-tosca-vnfd-image.yaml'
@ -208,8 +207,8 @@ class VnfTestToscaCreateImageCreation(base.BaseTackerTest):
break
self.assertIsNotNone(vdu_server)
image_id = vdu_server.image["id"]
nova_images = self.novaclient().images
image = nova_images.get(image_id)
glanceclient = self.glanceclient()
image = glanceclient.images.get(image_id)
self.assertIsNotNone(image)
self.assertEqual(True, "VNFImage_image_func" in image.name)
# Delete vnf_instance with vnf_id
@ -223,5 +222,6 @@ class VnfTestToscaCreateImageCreation(base.BaseTackerTest):
self.verify_vnf_crud_events(vnf_id, evt_constants.RES_EVT_DELETE,
evt_constants.PENDING_DELETE, cnt=2)
self.assertRaises(exceptions.NotFound, nova_images.delete,
self.assertRaises(exc.HTTPNotFound,
glanceclient.images.delete,
[image_id])

View File

@ -13,7 +13,6 @@
# under the License.
import time
import unittest
import yaml
from tacker.plugins.common import constants as evt_constants
@ -158,7 +157,6 @@ class VnfmTestParam(base.BaseTackerTest):
param_file='sample-tosca-vnf-values.yaml',
vnf_name='test_vnf_with_parameters_tosca_template')
@unittest.skip("Until BUG 1847188")
def test_vnf_param_with_artifacts_image_tosca_template(self):
self._test_vnf_param_tosca_template(
vnfd_name='cirros_vnfd_tosca_param_artifacts_image',