tests/ipv6.nix: Fix race

http://hydra.nixos.org/build/13119647
(cherry picked from commit c7ca46904f455687549fe40c122a7c42fa36203b)