Browse Source

Remove test_nova_port_notification_on_shutoff

Test scenario is not acurate as we shouldn't send the port-unplugged
event on the server shutoff.
https://bugzilla.redhat.com/show_bug.cgi?id=1932187

Change-Id: I803c976a3158bcbbec2513cdd690ea30ae74c2f8
changes/64/784064/1
Alex Katz 3 weeks ago
parent
commit
45c1b0117a
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      tobiko/tests/scenario/neutron/test_port.py

+ 0
- 13
tobiko/tests/scenario/neutron/test_port.py View File

@ -175,19 +175,6 @@ class PortLogsTest(testtools.TestCase):
stack = tobiko.required_setup_fixture(PortLogsStack)
def test_nova_port_notification_on_shutoff(self):
self.stack.ensure_server_status('ACTIVE')
log_digger = topology.get_log_file_digger(
service_name=neutron.SERVER,
groups=['controller'],
pattern=f'Nova.+event.+response.*{self.stack.server_id}')
with log_digger:
# Check unplugged event is logged
nova.shutoff_server(self.stack.server_id)
new_lines = log_digger.find_new_lines()
self.assert_has_event(new_lines, 'network-vif-unplugged')
@pytest.mark.flaky(reruns=5, reruns_delay=120)
def test_nova_port_notification_on_activate(self):
self.stack.ensure_server_status('SHUTOFF')


Loading…
Cancel
Save