diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 87de437ac9fc..f29d10608d4c 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1246,7 +1246,6 @@ in nfs4 = handleTest ./nfs { version = 4; }; nghttpx = runTest ./nghttpx.nix; nginx = import ./nginx { inherit lib runTest; }; - nginx-http3 = import ./nginx-http3.nix { inherit pkgs runTest; }; nifi = runTestOn [ "x86_64-linux" ] ./web-apps/nifi.nix; nimdow = runTest ./nimdow.nix; nipap = runTest ./web-apps/nipap.nix; diff --git a/nixos/tests/angie.nix b/nixos/tests/angie.nix index d67ca4e51953..7668a4beee6c 100644 --- a/nixos/tests/angie.nix +++ b/nixos/tests/angie.nix @@ -5,6 +5,6 @@ let in recurseIntoAttrs ( mapAttrs (const (callTest (builtins.getAttr "angie") "angie")) { - inherit (tests) basic; + inherit (tests) basic http3; } ) diff --git a/nixos/tests/nginx-http3.nix b/nixos/tests/nginx-http3.nix deleted file mode 100644 index 02283a3c5601..000000000000 --- a/nixos/tests/nginx-http3.nix +++ /dev/null @@ -1,119 +0,0 @@ -{ pkgs, runTest }: -let - hosts = '' - 192.168.2.101 acme.test - ''; - -in -builtins.listToAttrs ( - map - (nginxPackage: { - name = pkgs.lib.getName nginxPackage; - value = runTest { - name = "nginx-http3-${pkgs.lib.getName nginxPackage}"; - meta.maintainers = with pkgs.lib.maintainers; [ izorkin ]; - - nodes = { - server = - { lib, pkgs, ... }: - { - networking = { - interfaces.eth1 = { - ipv4.addresses = [ - { - address = "192.168.2.101"; - prefixLength = 24; - } - ]; - }; - extraHosts = hosts; - firewall.allowedTCPPorts = [ 443 ]; - firewall.allowedUDPPorts = [ 443 ]; - }; - - security.pki.certificates = [ - (builtins.readFile ./common/acme/server/ca.cert.pem) - ]; - - services.nginx = { - enable = true; - package = nginxPackage; - - virtualHosts."acme.test" = { - onlySSL = true; - sslCertificate = ./common/acme/server/acme.test.cert.pem; - sslCertificateKey = ./common/acme/server/acme.test.key.pem; - http2 = true; - http3 = true; - http3_hq = false; - quic = true; - reuseport = true; - root = lib.mkForce ( - pkgs.runCommandLocal "testdir" { } '' - mkdir "$out" - cat > "$out/index.html" <Hello World! - EOF - cat > "$out/example.txt" < "$out/index.html" <Hello World! + EOF + cat > "$out/example.txt" <