Workaround for the ControllerRevision FT

This patch is provisional workaround for bug [1].

I think possible ways to fix the bug are using the kubernetes
python client v11.0.0. However, as a other issue, the
ControllerRevision resources is not delete and remain. The
problem of resources remaining cannot be solved immediately.
Therefore, add a skip decorator to skip the Functional Test of
ControllerRevision as a workaround.

The added skip decorator will be removed after this issue
completely resolved.

[1] https://bugs.launchpad.net/tacker/+bug/1910327

Partial-Bug: #1910327
Change-Id: I6bedc5c8c712c9cf7d95ae5cb7384c4dea187108
This commit is contained in:
Naoaki Horie 2021-02-05 10:10:05 +00:00
parent c8656179fd
commit 70ec11e113
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
import os
import re
import time
import unittest
from oslo_serialization import jsonutils
from oslo_utils import uuidutils
@ -355,6 +356,7 @@ class VnfLcmTest(base.BaseTackerTest):
self._terminate_vnf_instance(vnf_instance['id'], terminate_req_body)
self._delete_vnf_instance(vnf_instance['id'])
@unittest.skip("Until BUG 1910327")
def test_inst_term_cnf_with_controller_revision(self):
# Create vnf instance
vnf_instance_name = "vnf_with_instantiation_level-%s" % \