mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
nixos/vector: tests: Use method to check for open DNSTAP socket
This commit is contained in:
parent
f1898d43e8
commit
8c33c65b88
|
|
@ -369,8 +369,7 @@ in
|
|||
"journalctl -o cat -u vector.service | grep 'component_type=dnstap' | grep 'Listening... path=\"${dnstapSocket}\"'"
|
||||
)
|
||||
|
||||
machine.wait_for_file("${dnstapSocket}")
|
||||
machine.succeed("test 770 -eq $(stat -c '%a' ${dnstapSocket})")
|
||||
machine.wait_for_open_unix_socket("${dnstapSocket}")
|
||||
|
||||
dnsclient.systemctl("start network-online.target")
|
||||
dnsclient.wait_for_unit("network-online.target")
|
||||
|
|
|
|||
Loading…
Reference in a new issue