From 5367c8fa146882c20fcf1a31f67911b3083bbe7d Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Thu, 5 Aug 2021 12:46:45 +0000 Subject: [PATCH] The tests I had in mind don't work with only issuer.nix imported --- nixos/modules/tests/private-storage.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix index 165394ce..353abc89 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/modules/tests/private-storage.nix @@ -308,12 +308,4 @@ in { $client->log($log); die $@; }; - - # The issuer metrics should be accessible from the monitoring network. - $issuer->execute('ifconfig lo:fauxvpn 172.23.23.2/24'); - $issuer->execute('systemctl restart nginx.service'); - $issuer->succeed('curl --silent --insecure --fail --output /dev/null https://172.23.23.2/metrics'); - - # The issuer metrics should NOT be accessible from any other network. - $issuer->fail('curl --silent --insecure --fail --output /dev/null https://localhost/metrics'); ''; } -- GitLab