lol

Merge pull request #231310 from Kranzes/harmonia

nixos/tests/harmonia: check if settings work

authored by

Ilan Joselevich and committed by
GitHub
e4298360 e7f5045b

+3 -1
+3 -1
nixos/tests/harmonia.nix
··· 8 8 services.harmonia = { 9 9 enable = true; 10 10 signKeyPath = pkgs.writeText "cache-key" "cache.example.com-1:9FhO0w+7HjZrhvmzT1VlAZw4OSAlFGTgC24Seg3tmPl4gZBdwZClzTTHr9cVzJpwsRSYLTu7hEAQe3ljy92CWg=="; 11 + settings.priority = 35; 11 12 }; 12 13 13 14 networking.firewall.allowedTCPPorts = [ 5000 ]; ··· 26 27 start_all() 27 28 28 29 harmonia.wait_for_unit("harmonia.service") 29 - client01.wait_until_succeeds("curl -f http://harmonia:5000/nix-cache-info") 30 + 31 + client01.wait_until_succeeds("curl -f http://harmonia:5000/nix-cache-info | grep '${toString nodes.harmonia.services.harmonia.settings.priority}' >&2") 30 32 client01.succeed("curl -f http://harmonia:5000/version | grep '${nodes.harmonia.services.harmonia.package.version}' >&2") 31 33 32 34 client01.succeed("cat /etc/nix/nix.conf >&2")