Fix Docker tests for 4.6.2 Coturn
This commit is contained in:
parent
d5aa172f96
commit
730b328660
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user