diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 1443836e36f1..9ca3d166eb36 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -159,7 +159,7 @@ in { akkoma = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./akkoma.nix {}; akkoma-confined = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./akkoma.nix { confined = true; }; alice-lg = runTest ./alice-lg.nix; - alloy = handleTest ./alloy.nix {}; + alloy = runTest ./alloy.nix; allTerminfo = handleTest ./all-terminfo.nix {}; alps = handleTest ./alps.nix {}; amazon-cloudwatch-agent = handleTest ./amazon-cloudwatch-agent.nix {}; diff --git a/nixos/tests/alloy.nix b/nixos/tests/alloy.nix index d6595c61f991..aad9568ef471 100644 --- a/nixos/tests/alloy.nix +++ b/nixos/tests/alloy.nix @@ -1,37 +1,35 @@ -import ./make-test-python.nix ( - { lib, pkgs, ... }: +{ lib, ... }: - let - nodes = { - machine = { - services.alloy = { - enable = true; - }; - environment.etc."alloy/config.alloy".text = ""; +let + nodes = { + machine = { + services.alloy = { + enable = true; }; + environment.etc."alloy/config.alloy".text = ""; }; - in - { - name = "alloy"; + }; +in +{ + name = "alloy"; - meta = with lib.maintainers; { - maintainers = [ - flokli - hbjydev - ]; - }; + meta = with lib.maintainers; { + maintainers = [ + flokli + hbjydev + ]; + }; - inherit nodes; + inherit nodes; - testScript = '' - start_all() + testScript = '' + start_all() - machine.wait_for_unit("alloy.service") - machine.wait_for_open_port(12345) - machine.succeed( - "curl -sSfN http://127.0.0.1:12345/-/healthy" - ) - machine.shutdown() - ''; - } -) + machine.wait_for_unit("alloy.service") + machine.wait_for_open_port(12345) + machine.succeed( + "curl -sSfN http://127.0.0.1:12345/-/healthy" + ) + machine.shutdown() + ''; +}