Merge "Fix expect_timeout_error in IPv6 scenario tests"

This commit is contained in:
Zuul 2021-07-21 19:15:05 +00:00 committed by Gerrit Code Review
commit 058ceaf0e7
1 changed files with 2 additions and 0 deletions

View File

@ -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)