Skip to content
Snippets Groups Projects
Commit 5367c8fa authored by Florian Sesser's avatar Florian Sesser
Browse files

The tests I had in mind don't work with only issuer.nix imported

parent 61dc164f
Branches
No related tags found
3 merge requests!180merge develop into production,!177merge develop into staging,!146Manage access to payment metrics
......@@ -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');
''; }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment