Skip to content

Commit

Permalink
tests:ethernets: avoid flaky test_ip6_eui64 results, when statefull D…
Browse files Browse the repository at this point in the history
…HCPv6 is quicker than stateless EUI-64 address generation
  • Loading branch information
slyon committed Sep 3, 2024
1 parent 150090a commit 2018be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/ethernets.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ def test_ip6_eui64(self):
dhcp6: yes
accept-ra: yes
ipv6-address-generation: eui64''' % {'r': self.backend, 'ec': self.dev_e_client})
self.generate_and_settle([self.state_dhcp6(self.dev_e_client)])
# Compare to EUI-64 address, to make sure it matches the one generated.
eui_addr = mac_to_eui64(self.dev_e_client_mac)
self.generate_and_settle([self.state(self.dev_e_client, eui_addr.compressed)])
self.assert_iface_up(self.dev_e_client, [f'inet6 {eui_addr.compressed}/64'])

def test_link_local_all(self):
Expand Down

0 comments on commit 2018be2

Please sign in to comment.