Add 30 sec after start_agent
test:test_metadata_haproxy_during_stop_L3_agent Sleep(30 sec) temporarily to make sure the L3 agent had time to fully provision all the resources. rhbz#2133743 Change-Id: I04e231b7d5bbeeacb0fd54d6771d282a7ff5a0fe
This commit is contained in:
parent
5da052f7e5
commit
48fc93091d
@ -18,6 +18,7 @@ import collections
|
||||
import re
|
||||
import sys
|
||||
import typing
|
||||
import time
|
||||
|
||||
from oslo_log import log
|
||||
import pytest
|
||||
@ -444,6 +445,12 @@ class L3AgentTest(BaseAgentTest):
|
||||
|
||||
return active_agent
|
||||
|
||||
# FIXME- Sleep(30 sec) temporarly to make sure the L3 agent had time
|
||||
# fully provision all the resources - rhbz#2133743
|
||||
def start_agent(self, hosts: typing.Optional[typing.List[str]] = None):
|
||||
super(L3AgentTest, self).start_agent(hosts)
|
||||
time.sleep(30)
|
||||
|
||||
@neutron.skip_if_missing_networking_extensions('l3-ha')
|
||||
@neutron.skip_if_missing_networking_extensions('l3_agent_scheduler')
|
||||
def test_keepalived_after_l3_agent_restart(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user