nixosTests.coturn: wait_for_open_port
This commit is contained in:
parent
c23b26e93e
commit
144ef637a6
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
|
||||
with subtest("works with static-auth-secret-file"):
|
||||
secretsfile.wait_for_unit("coturn.service")
|
||||
secretsfile.wait_for_open_port(3478)
|
||||
secretsfile.succeed("grep 'some-very-secret-string' /run/coturn/turnserver.cfg")
|
||||
# Forbidden IP, fails:
|
||||
secretsfile.fail("${pkgs.coturn}/bin/turnutils_uclient -W some-very-secret-string 127.0.0.1 -DgX -e 127.0.0.1 -n 1 -c -y")
|
||||
|
|
Loading…
Reference in a new issue