nixos/jitsi-meet: update nixos tests
- remove check for `connected .JID: focus@auth.server` because
- log format was changed in c1945ea6cb
- 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)
This commit is contained in:
parent
fa8a6d7e0a
commit
8b5fcedfc9
|
@ -8,6 +8,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
client = { nodes, pkgs, ... }: {
|
client = { nodes, pkgs, ... }: {
|
||||||
};
|
};
|
||||||
server = { config, pkgs, ... }: {
|
server = { config, pkgs, ... }: {
|
||||||
|
virtualisation.memorySize = 512;
|
||||||
services.jitsi-meet = {
|
services.jitsi-meet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "server";
|
hostName = "server";
|
||||||
|
@ -36,15 +37,9 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
server.wait_until_succeeds(
|
server.wait_until_succeeds(
|
||||||
"journalctl -b -u jitsi-videobridge2 -o cat | grep -q 'Performed a successful health check'"
|
"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(
|
server.wait_until_succeeds(
|
||||||
"journalctl -b -u prosody -o cat | grep -q 'Authenticated as focus@auth.server'"
|
"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(
|
server.wait_until_succeeds(
|
||||||
"journalctl -b -u prosody -o cat | grep -q 'Authenticated as jvb@auth.server'"
|
"journalctl -b -u prosody -o cat | grep -q 'Authenticated as jvb@auth.server'"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue