Skip test_vnf_alarm_(respawn|scale) until ceilometer is restored

Unless ceilometer is present, these tests are meaningless and
vnf creation fails because alarming itself relies on it. We mustn't
forget to revert this when doing Change [1].

[1] https://review.opendev.org/#/c/757537

Change-Id: Ibed5e96067ccbba8955b565f0811a80e9f069173
This commit is contained in:
Koichiro Den 2020-10-29 12:48:44 +09:00
parent f37f0ddfca
commit 8ed9f5fe53
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import time
import unittest
from oslo_serialization import jsonutils
@ -111,11 +112,15 @@ class VnfTestAlarmMonitor(base.BaseTackerTest):
self.addCleanup(self.wait_until_vnf_delete, vnf_id,
constants.VNF_CIRROS_DELETE_TIMEOUT)
# TODO(kden): restore this test once Change #757537 is reverted.
@unittest.skip("Until ceilometer is restored")
def test_vnf_alarm_respawn(self):
self._test_vnf_tosca_alarm(
'sample-tosca-alarm-respawn.yaml',
'alarm and respawn-vnf')
# TODO(kden): restore this test once Change #757537 is reverted.
@unittest.skip("Until ceilometer is restored")
def test_vnf_alarm_scale(self):
self._test_vnf_tosca_alarm(
'sample-tosca-alarm-scale.yaml',