Bump hacking
hacking 3.0.x is too old. Bump it to the version currently used in
tempest repo.
Depends-on: https://review.opendev.org/c/openstack/tempest/+/906634
Change-Id: I01f9496e0fb66397916f8f8ce7543e3786f5d1dc
diff --git a/neutron_tempest_plugin/scenario/test_mtu.py b/neutron_tempest_plugin/scenario/test_mtu.py
index 99c5130..29ccb01 100644
--- a/neutron_tempest_plugin/scenario/test_mtu.py
+++ b/neutron_tempest_plugin/scenario/test_mtu.py
@@ -227,37 +227,37 @@
@decorators.idempotent_id('bc470200-d8f4-4f07-b294-1b4cbaaa35b9')
def test_connectivity_min_max_mtu(self):
server_ssh_client, _, _, fip2 = self._create_setup()
- log_msg = ("Ping with {mtu_size} MTU of 2 networks. Fragmentation is "
- "{fragmentation_state}. Expected result: ping "
- "{ping_status}")
+ log_msg = ("Ping with %(mtu_size)s MTU of 2 networks. "
+ "Fragmentation is %(fragmentation_state)s. "
+ "Expected result: ping %(ping_status)s")
# ping with min mtu of 2 networks succeeds even when
# fragmentation is disabled
- LOG.debug(log_msg.format(mtu_size='minimal',
- fragmentation_state='disabled', ping_status='succeeded'))
+ LOG.debug(log_msg, mtu_size='minimal',
+ fragmentation_state='disabled', ping_status='succeeded')
self.check_remote_connectivity(
server_ssh_client, fip2['fixed_ip_address'],
mtu=self.networks[0]['mtu'], fragmentation=False)
# ping with the size above min mtu of 2 networks
# fails when fragmentation is disabled
- LOG.debug(log_msg.format(mtu_size='size above minimal',
- fragmentation_state='disabled', ping_status='failed'))
+ LOG.debug(log_msg, mtu_size='size above minimal',
+ fragmentation_state='disabled', ping_status='failed')
self.check_remote_connectivity(
server_ssh_client, fip2['fixed_ip_address'], should_succeed=False,
mtu=self.networks[0]['mtu'] + 2, fragmentation=False)
# ping with max mtu of 2 networks succeeds when
# fragmentation is enabled
- LOG.debug(log_msg.format(mtu_size='maximal',
- fragmentation_state='enabled', ping_status='succeeded'))
+ LOG.debug(log_msg, mtu_size='maximal',
+ fragmentation_state='enabled', ping_status='succeeded')
self.check_remote_connectivity(
server_ssh_client, fip2['fixed_ip_address'],
mtu=self.networks[1]['mtu'])
# ping with max mtu of 2 networks fails when fragmentation is disabled
- LOG.debug(log_msg.format(mtu_size='maximal',
- fragmentation_state='disabled', ping_status='failed'))
+ LOG.debug(log_msg, mtu_size='maximal',
+ fragmentation_state='disabled', ping_status='failed')
self.check_remote_connectivity(
server_ssh_client, fip2['fixed_ip_address'], should_succeed=False,
mtu=self.networks[1]['mtu'], fragmentation=False)