From 730b32866097ef7fc46b327aafe41ab267858e09 Mon Sep 17 00:00:00 2001 From: tyranron Date: Wed, 12 Apr 2023 14:59:07 +0300 Subject: [PATCH] Fix Docker tests for 4.6.2 Coturn --- docker/coturn/tests/main.bats | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/docker/coturn/tests/main.bats b/docker/coturn/tests/main.bats index c9f10c1..afc0c27 100644 --- a/docker/coturn/tests/main.bats +++ b/docker/coturn/tests/main.bats @@ -42,7 +42,7 @@ run docker run --rm --pull never --platform $PLATFORM \ --entrypoint sh $IMAGE -c \ "turnserver -o --log-file=stdout | grep -m 1 'Version Coturn' \ - | cut -d ' ' -f2 \ + | cut -d ' ' -f6 \ | cut -d '-' -f2" [ "$status" -eq 0 ] [ ! "$output" = '' ] @@ -52,19 +52,7 @@ } -@test "TLS supported" { # TODO: Remove on next Coturn version release. - [ ! "$COTURN_VERSION" = '4.6.1' ] && skip - - run docker run --rm --pull never --platform $PLATFORM \ - --entrypoint sh $IMAGE -c \ - "turnserver -o --log-file=stdout | grep 'TLS supported'" - [ "$status" -eq 0 ] - [ ! "$output" = '' ] -} - @test "TLS 1.3 supported" { - [ "$COTURN_VERSION" = '4.6.1' ] && skip - run docker run --rm --pull never --platform $PLATFORM \ --entrypoint sh $IMAGE -c \ "turnserver -o --log-file=stdout | grep 'TLS 1.3 supported'" @@ -72,16 +60,6 @@ [ ! "$output" = '' ] } -@test "DTLS supported" { # TODO: Remove on next Coturn version release. - [ ! "$COTURN_VERSION" = '4.6.1' ] && skip - - run docker run --rm --pull never --platform $PLATFORM \ - --entrypoint sh $IMAGE -c \ - "turnserver -o --log-file=stdout | grep 'DTLS supported'" - [ "$status" -eq 0 ] - [ ! "$output" = '' ] -} - @test "DTLS 1.2 supported" { run docker run --rm --pull never --platform $PLATFORM \ --entrypoint sh $IMAGE -c \