Commit Graph

7 Commits

Author SHA1 Message Date
misuzu
92df50f4d0 nixos/tests/networking: fix flaky scripted.dhcpSimple test
The underlying issue is unknown, but starting
the router first and then the client makes the test not flaky.
2024-12-04 20:18:46 +02:00
Egor Savkin
8bda6ea01c tests: network: update nixosTests.networking.scripted.virtual to match correct behavior
First, `stop network-addresses-X` should clean up the addresses without deleting the interfaces. And only `stop tap0-netdev` should fully delete the interfaces.

Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-12-02 10:57:42 +08:00
rnhmjoj
9cb83c2af4
nixos/tests/networking: fix GRE test
More fallout from c6f6c282.
2024-11-30 09:51:44 +01:00
rnhmjoj
127dcca388
nixos/tests/networking: test nameservers via DHCP 2024-10-15 11:53:05 +02:00
Vladimír Čunát
a3c0b3b215
Revert "nixos/tests/networking: test nameservers via DHCP"
This reverts commit bad5251e87.

https://github.com/NixOS/nixpkgs/pull/348305#issuecomment-2410165312
Should've known that commit starting with `bad` will be no good.
Fixes nixosTests.networking.networkd.dhcpSimple
https://hydra.nixos.org/build/274843085/nixlog/8/tail
2024-10-14 08:48:30 +02:00
rnhmjoj
bad5251e87
nixos/tests/networking: test nameservers via DHCP 2024-09-16 08:07:55 +02:00
Janik H.
080c08d3c1
nixosTests.networking: split router into a separate file and remove with lib; antipattern
this commit also does a tiny bit more, namely:
- removing unnecessary ping's to the hosts own ip
- and simplifying a few pieces of code like changing `{ inherit (pkgs) lib pkgs; };` to `{ inherit lib pkgs; };`
2024-04-02 02:33:48 +02:00