summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-02-27 09:48:04 +0000
committerGitHub <noreply@github.com>2022-02-27 09:48:04 +0000
commitc219935f5e83113a5c136568f7a3bff868946a3a (patch)
tree5a8f0bdc5be18fc26c6e8d6d0b0a17a7e7bc0390 /nixos/tests
parentf231f397c5425cd5a27e9ec77849062bceee9038 (diff)
parent6e389e63678fe13660bcc9f708649e64eae6bb05 (diff)
downloadnixpkgs-c219935f5e83113a5c136568f7a3bff868946a3a.tar
nixpkgs-c219935f5e83113a5c136568f7a3bff868946a3a.tar.gz
nixpkgs-c219935f5e83113a5c136568f7a3bff868946a3a.tar.bz2
nixpkgs-c219935f5e83113a5c136568f7a3bff868946a3a.tar.lz
nixpkgs-c219935f5e83113a5c136568f7a3bff868946a3a.tar.xz
nixpkgs-c219935f5e83113a5c136568f7a3bff868946a3a.tar.zst
nixpkgs-c219935f5e83113a5c136568f7a3bff868946a3a.zip
Merge pull request #162056 from NickCao/bird-reload
nixos/bird: run service as non-root user, add test for reload
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/bird.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/bird.nix b/nixos/tests/bird.nix
index befcf4fb8ac..822a7caea9b 100644
--- a/nixos/tests/bird.nix
+++ b/nixos/tests/bird.nix
@@ -110,6 +110,7 @@ makeTest {
 
     host1.wait_for_unit("bird2.service")
     host2.wait_for_unit("bird2.service")
+    host1.succeed("systemctl reload bird2.service")
 
     with subtest("Waiting for advertised IPv4 routes"):
       host1.wait_until_succeeds("ip --json r | jq -e 'map(select(.dst == \"10.10.0.2\")) | any'")