Merge pull request #1028 from freyes/fix-prom-mysql-exporter-test

Use zaza.model.get_unit_public_address()
This commit is contained in:
Alex Kavanagh
2023-03-23 10:20:32 +00:00
committed by GitHub
@@ -118,7 +118,7 @@ class PrometheusMySQLExporterTest(MySQLBaseTest):
self.assertEqual(
json_mysql_config,
{
"host": unit.public_address,
"host": zaza_model.get_unit_public_address(unit),
"port": 3306,
"user": "prom_exporter"
}