diff options
author | Vincent Haupert <vincent@yaxi.tech> | 2023-02-09 11:22:06 +0100 |
---|---|---|
committer | pennae <82953136+pennae@users.noreply.github.com> | 2023-02-11 18:21:21 +0100 |
commit | a36fc1d72afcb5cba99c516432a1a26240aa0be8 (patch) | |
tree | 921d45d562c17bbfedde22e4afee18aa4f4f4300 /nixos/tests | |
parent | 8fff553f7efbcc0a065c2e494274013731016ffe (diff) |
nixosTests.envoy: use port 80 to test `CAP_NET_BIND_SERVICE`
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/envoy.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/envoy.nix b/nixos/tests/envoy.nix index 9d2c32ce102f2..a14c1fca3bb5f 100644 --- a/nixos/tests/envoy.nix +++ b/nixos/tests/envoy.nix @@ -13,7 +13,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : { socket_address = { protocol = "TCP"; address = "127.0.0.1"; - port_value = 9901; + port_value = 80; }; }; }; @@ -27,7 +27,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : { testScript = '' machine.start() machine.wait_for_unit("envoy.service") - machine.wait_for_open_port(9901) - machine.wait_until_succeeds("curl -fsS localhost:9901/ready") + machine.wait_for_open_port(80) + machine.wait_until_succeeds("curl -fsS localhost:80/ready") ''; }) |