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

(Try)fix system tests by adding an alias interface with the right IP

System tests do currently not include testing our monitoringvpn wireguard
setup, so let's just add the required IP by an alias to the lo interface.
parent 4e8b9e89
No related branches found
No related tags found
3 merge requests!180merge develop into production,!177merge develop into staging,!146Manage access to payment metrics
Pipeline #926 failed
......@@ -310,7 +310,8 @@ in {
};
# The issuer metrics should be accessible from the monitoring network.
$issuer->succeed('curl --silent --insecure --fail --output /dev/null https://172.23.23.11/metrics');
$issuer->execute('ifconfig lo:fauxvpn 172.23.23.2/24');
$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.
Finish editing this message first!
Please register or to comment