summary refs log tree commit diff
path: root/nixos/tests/jitsi-meet.nix
diff options
context:
space:
mode:
authorillustris <rharikrishnan95@gmail.com>2021-06-20 11:22:12 +0530
committerMilan <milan@petabyte.dev>2021-06-20 12:36:51 +0200
commit85aa4bf92b34a4774f7443a87ab3524bfd152002 (patch)
tree89b83b6b507e9cb2eb57a04083d047137cf5b32c /nixos/tests/jitsi-meet.nix
parente0089c38ca2f9f2b9a46ffcf74a9908f53d51459 (diff)
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
Diffstat (limited to 'nixos/tests/jitsi-meet.nix')
-rw-r--r--nixos/tests/jitsi-meet.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/tests/jitsi-meet.nix b/nixos/tests/jitsi-meet.nix
index dec49c83121b9..f9a0b121a2bfc 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";
@@ -37,15 +38,9 @@ import ./make-test-python.nix ({ pkgs, ... }: {
         "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'"
     )