mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixos/tests: fix upnp under network-online dep fix
This commit is contained in:
parent
5714c8465a
commit
42cda3b36b
@ -81,11 +81,13 @@ in
|
|||||||
start_all()
|
start_all()
|
||||||
|
|
||||||
# Wait for network and miniupnpd.
|
# Wait for network and miniupnpd.
|
||||||
|
router.systemctl("start network-online.target")
|
||||||
router.wait_for_unit("network-online.target")
|
router.wait_for_unit("network-online.target")
|
||||||
# $router.wait_for_unit("nat")
|
# $router.wait_for_unit("nat")
|
||||||
router.wait_for_unit("${if useNftables then "nftables" else "firewall"}.service")
|
router.wait_for_unit("${if useNftables then "nftables" else "firewall"}.service")
|
||||||
router.wait_for_unit("miniupnpd")
|
router.wait_for_unit("miniupnpd")
|
||||||
|
|
||||||
|
client1.systemctl("start network-online.target")
|
||||||
client1.wait_for_unit("network-online.target")
|
client1.wait_for_unit("network-online.target")
|
||||||
|
|
||||||
client1.succeed("upnpc -a ${internalClient1Address} 9000 9000 TCP")
|
client1.succeed("upnpc -a ${internalClient1Address} 9000 9000 TCP")
|
||||||
|
Loading…
Reference in New Issue
Block a user