nixos/tests/zammad: fix test

This commit is contained in:
netali 2023-12-03 11:13:32 +01:00
parent a1f6e1d6f1
commit 531fa59187
No known key found for this signature in database
GPG key ID: 9C55E636426B40A9

View file

@ -4,7 +4,7 @@ import ./make-test-python.nix (
{
name = "zammad";
meta.maintainers = with lib.maintainers; [ garbas taeer n0emis ];
meta.maintainers = with lib.maintainers; [ taeer n0emis netali ];
nodes.machine = { config, ... }: {
services.zammad.enable = true;
@ -44,9 +44,10 @@ import ./make-test-python.nix (
testScript = ''
start_all()
machine.wait_for_unit("postgresql.service")
machine.wait_for_unit("redis-zammad.service")
machine.wait_for_unit("zammad-web.service")
machine.wait_for_unit("zammad-websocket.service")
machine.wait_for_unit("zammad-scheduler.service")
machine.wait_for_unit("zammad-worker.service")
# wait for zammad to fully come up
machine.sleep(120)