Merge "Fix expect_timeout_error in IPv6 scenario tests"
This commit is contained in:
commit
058ceaf0e7
|
@ -493,6 +493,8 @@ class IPv6TrafficOperationsScenarioTest(
|
||||||
# wait until Neutron completes the SG update.
|
# wait until Neutron completes the SG update.
|
||||||
# See https://bugs.launchpad.net/neutron/+bug/1866353.
|
# See https://bugs.launchpad.net/neutron/+bug/1866353.
|
||||||
def expect_timeout_error(address, protocol, protocol_port):
|
def expect_timeout_error(address, protocol, protocol_port):
|
||||||
|
if protocol != const.UDP:
|
||||||
|
address = "[{}]".format(address)
|
||||||
try:
|
try:
|
||||||
self.make_request(address, protocol=protocol,
|
self.make_request(address, protocol=protocol,
|
||||||
protocol_port=protocol_port)
|
protocol_port=protocol_port)
|
||||||
|
|
Loading…
Reference in New Issue