Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(hotplug): fix race getting ipv6 (#5271)
Add retry logic for _get_ip_addr to properly get the ipv6 address. The output of `ip --brief addr` can show ens6 UP 192.168.13.34/20 metric 200 fe80::8fd:afff:fea3:f4ad/64 instead of ens6 UP 192.168.13.34/20 metric 200 2a05:d012:ea0:c500:1373:45f4:aa83:517c/128 fe80::8fd:afff:fea3:f4ad/64 if executed so early that the kernel didn't expose the wanted ipv6 address.
- Loading branch information