Skip to content

Commit 59e283f

Browse files
committed
test: wait for zabbix using login before e2e tests
1 parent 6ad9a8c commit 59e283f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def wait_for_zabbix() -> None:
1515
max_attempts = 30
1616
while max_attempts > 0:
1717
try:
18-
ZabbixAPI(ZABBIX_SERVER).apiinfo.version()
18+
ZabbixAPI(ZABBIX_SERVER).login("Admin", "zabbix")
1919
except (ConnectionError, ZabbixAPIException):
2020
sleep(2)
2121
max_attempts -= 1

0 commit comments

Comments
 (0)