From 1fc1feb3b0c6586c45ccb00732bf7caa55283c9d Mon Sep 17 00:00:00 2001 From: Peter Esselius Date: Sat, 27 Jul 2024 14:50:54 +0200 Subject: [PATCH] use single vm with more mem --- nixos-tests/monitoring-auth.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nixos-tests/monitoring-auth.nix b/nixos-tests/monitoring-auth.nix index c6df7b3..8e5b9da 100644 --- a/nixos-tests/monitoring-auth.nix +++ b/nixos-tests/monitoring-auth.nix @@ -3,12 +3,12 @@ { name = "monitoring-auth"; - nodes.server = { + nodes.server = { pkgs, ... }: { _module.args.mkAuthentikScope = inputs.authentik-nix.lib.mkAuthentikScope; virtualisation = { cores = 3; - memorySize = 4096; + memorySize = 6144; }; imports = [ @@ -85,9 +85,7 @@ api_url = "http://server:9000/application/o/userinfo/"; }; }; - }; - nodes.client = { pkgs, ... }: { environment.sessionVariables = { PLAYWRIGHT_BROWSERS_PATH = pkgs.playwright-driver.browsers; }; @@ -148,9 +146,8 @@ with subtest("Wait for Authentik blueprints to be applied"): server.wait_until_succeeds("curl -f http://localhost:9000/application/o/grafana/.well-known/openid-configuration >&2") - client.start() with subtest("Test oauth"): - print(client.succeed("test_auth")) + print(server.succeed("test_auth")) ''; }