From 8b5fcedfc99a58bdc2db416fc7959e044e4cb9be Mon Sep 17 00:00:00 2001 From: illustris Date: Sun, 20 Jun 2021 11:22:12 +0530 Subject: [PATCH] nixos/jitsi-meet: update nixos tests - remove check for `connected .JID: focus@auth.server` because - log format was changed in https://github.com/jitsi/jicofo/commit/c1945ea6cb3dd7c815e963768abc9a3fab57101e - connection.getUser() in jicofo also appears to be broken, returning null instead of username - testing for this log line shouldn't be necessary, as we also test for "Authenticated as focus@auth.server" - remove check for `External component successfully authenticated` because - [JVB no longer uses component](https://community.jitsi.org/t/jvb-not-connecting/91157/2) - increase VM memory (cherry picked from commit 85aa4bf92b34a4774f7443a87ab3524bfd152002) --- nixos/tests/jitsi-meet.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nixos/tests/jitsi-meet.nix b/nixos/tests/jitsi-meet.nix index dec49c83121..f9a0b121a2b 100644 --- a/nixos/tests/jitsi-meet.nix +++ b/nixos/tests/jitsi-meet.nix @@ -8,6 +8,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { client = { nodes, pkgs, ... }: { }; server = { config, pkgs, ... }: { + virtualisation.memorySize = 512; services.jitsi-meet = { enable = true; hostName = "server"; @@ -36,15 +37,9 @@ import ./make-test-python.nix ({ pkgs, ... }: { server.wait_until_succeeds( "journalctl -b -u jitsi-videobridge2 -o cat | grep -q 'Performed a successful health check'" ) - server.wait_until_succeeds( - "journalctl -b -u jicofo -o cat | grep -q 'connected .JID: focus@auth.server'" - ) server.wait_until_succeeds( "journalctl -b -u prosody -o cat | grep -q 'Authenticated as focus@auth.server'" ) - server.wait_until_succeeds( - "journalctl -b -u prosody -o cat | grep -q 'focus.server:component: External component successfully authenticated'" - ) server.wait_until_succeeds( "journalctl -b -u prosody -o cat | grep -q 'Authenticated as jvb@auth.server'" )