fix alertmanager tests
This commit is contained in:
parent
1e0470ce93
commit
e2bdeee237
2 changed files with 4 additions and 1 deletions
|
@ -13,3 +13,6 @@ __pycache__/
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
|
|
||||||
|
# Storage
|
||||||
|
data/
|
||||||
|
|
|
@ -85,7 +85,7 @@ class AbstractFakeAlertmanagerServer:
|
||||||
|
|
||||||
await self.runner.setup()
|
await self.runner.setup()
|
||||||
|
|
||||||
site = web.TCPSite(self.runner, "localhost", self.port)
|
site = web.TCPSite(self.runner, "127.0.0.1", self.port)
|
||||||
await site.start()
|
await site.start()
|
||||||
|
|
||||||
async def stop(self) -> None:
|
async def stop(self) -> None:
|
||||||
|
|
Loading…
Reference in a new issue