forked from mirrors/nixpkgs
nixos/tests/ferm: wait for DAD timeout before testing
The test has recently been failing due to the IPv6 address on the server still being in the tentative state, when the client sends its first request. The server will not start using the IPv6 address until DAD has completed. Scripted networking seems not to wait for DAD completion before completing network-online.target, so let's switch to networkd instead, which does.
This commit is contained in:
parent
2436175f63
commit
1fb3818440
|
@ -22,6 +22,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||
{
|
||||
networking = {
|
||||
dhcpcd.enable = false;
|
||||
useNetworkd = true;
|
||||
interfaces.eth1.ipv6.addresses = mkOverride 0 [ { address = "fd00::1"; prefixLength = 64; } ];
|
||||
interfaces.eth1.ipv4.addresses = mkOverride 0 [ { address = "192.168.1.1"; prefixLength = 24; } ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue