Skip to content

Commit

Permalink
test(hotplug): disable ipv6 checks due to race
Browse files Browse the repository at this point in the history
Those checks are going to fail due to and until canonical#5373 is fixed. Disabled
them to get a better feedback from integration tests.
  • Loading branch information
aciba90 committed Jun 26, 2024
1 parent 8c396a4 commit 7fa05be
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/integration_tests/modules/test_hotplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,18 +343,20 @@ def test_multi_nic_hotplug_vpc(setup_image, session_cloud: IntegrationCloud):
assert r.ok, r.stdout
r = bastion.execute(f"ping -c1 {secondary_priv_ip4}")
assert r.ok, r.stdout
r = bastion.execute(f"ping -c1 {primary_priv_ip6}")
assert r.ok, r.stdout
r = bastion.execute(f"ping -c1 {secondary_priv_ip6}")
assert r.ok, r.stdout
# TODO: re-enable after #5373
# r = bastion.execute(f"ping -c1 {primary_priv_ip6}")
# assert r.ok, r.stdout
# r = bastion.execute(f"ping -c1 {secondary_priv_ip6}")
# assert r.ok, r.stdout

# Remove new NIC
client.instance.remove_network_interface(secondary_priv_ip4)
_wait_till_hotplug_complete(client, expected_runs=2)

# ping to primary NIC works
assert bastion.execute(f"ping -c1 {primary_priv_ip4}").ok
assert bastion.execute(f"ping -c1 {primary_priv_ip6}").ok
# TODO: re-enable after #5373
# assert bastion.execute(f"ping -c1 {primary_priv_ip6}").ok

log_content = client.read_from_file("/var/log/cloud-init.log")
verify_clean_log(log_content)
Expand Down

0 comments on commit 7fa05be

Please sign in to comment.