mirror of https://github.com/OpenVidu/openvidu.git
Add stt-test.wav file for STT e2e tests
parent
4ea501031e
commit
078c13ac80
|
@ -281,6 +281,7 @@ if [[ "${PREPARE}" == true || "${EXECUTE_ALL}" == true ]]; then
|
||||||
# Download fake videos
|
# Download fake videos
|
||||||
FAKE_VIDEO1=/opt/openvidu/barcode.y4m
|
FAKE_VIDEO1=/opt/openvidu/barcode.y4m
|
||||||
FAKE_VIDEO2=/opt/openvidu/girl.mjpeg
|
FAKE_VIDEO2=/opt/openvidu/girl.mjpeg
|
||||||
|
FAKE_VIDEO3=/opt/openvidu/stt-test.wav
|
||||||
if [ ! -f ${FAKE_VIDEO1} ]; then
|
if [ ! -f ${FAKE_VIDEO1} ]; then
|
||||||
sudo curl --location https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/barcode.y4m --create-dirs --output /opt/openvidu/barcode.y4m
|
sudo curl --location https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/barcode.y4m --create-dirs --output /opt/openvidu/barcode.y4m
|
||||||
else
|
else
|
||||||
|
@ -291,6 +292,11 @@ if [[ "${PREPARE}" == true || "${EXECUTE_ALL}" == true ]]; then
|
||||||
else
|
else
|
||||||
echo "File ${FAKE_VIDEO2} already exists"
|
echo "File ${FAKE_VIDEO2} already exists"
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f ${FAKE_VIDEO3} ]; then
|
||||||
|
sudo curl --location https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/stt-test.wav --create-dirs --output /opt/openvidu/stt-test.wav
|
||||||
|
else
|
||||||
|
echo "File ${FAKE_VIDEO3} already exists"
|
||||||
|
fi
|
||||||
|
|
||||||
# Download fake audio
|
# Download fake audio
|
||||||
FAKE_AUDIO=/opt/openvidu/fakeaudio.wav
|
FAKE_AUDIO=/opt/openvidu/fakeaudio.wav
|
||||||
|
|
Binary file not shown.
|
@ -86,6 +86,7 @@ def prepareTestingEnvironment() {
|
||||||
sh(script: '''#!/bin/bash -xe
|
sh(script: '''#!/bin/bash -xe
|
||||||
FAKE_VIDEO1=/opt/openvidu-cache/barcode.y4m
|
FAKE_VIDEO1=/opt/openvidu-cache/barcode.y4m
|
||||||
FAKE_VIDEO2=/opt/openvidu-cache/girl.mjpeg
|
FAKE_VIDEO2=/opt/openvidu-cache/girl.mjpeg
|
||||||
|
FAKE_VIDEO3=/opt/openvidu-cache/stt-test.wav
|
||||||
if [ ! -f ${FAKE_VIDEO1} ]; then
|
if [ ! -f ${FAKE_VIDEO1} ]; then
|
||||||
sudo curl --location https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/barcode.y4m --create-dirs --output /opt/openvidu-cache/barcode.y4m
|
sudo curl --location https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/barcode.y4m --create-dirs --output /opt/openvidu-cache/barcode.y4m
|
||||||
else
|
else
|
||||||
|
@ -96,8 +97,14 @@ def prepareTestingEnvironment() {
|
||||||
else
|
else
|
||||||
echo "File ${FAKE_VIDEO2} already exists"
|
echo "File ${FAKE_VIDEO2} already exists"
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f ${FAKE_VIDEO3} ]; then
|
||||||
|
sudo curl --location https://github.com/OpenVidu/openvidu/raw/master/openvidu-test-e2e/docker/stt-test.wav --create-dirs --output /opt/openvidu-cache/stt-test.wav
|
||||||
|
else
|
||||||
|
echo "File ${FAKE_VIDEO3} already exists"
|
||||||
|
fi
|
||||||
sudo cp /opt/openvidu-cache/barcode.y4m /opt/openvidu/barcode.y4m
|
sudo cp /opt/openvidu-cache/barcode.y4m /opt/openvidu/barcode.y4m
|
||||||
sudo cp /opt/openvidu-cache/girl.mjpeg /opt/openvidu/girl.mjpeg
|
sudo cp /opt/openvidu-cache/girl.mjpeg /opt/openvidu/girl.mjpeg
|
||||||
|
sudo cp /opt/openvidu-cache/stt-test.wav /opt/openvidu/stt-test.wav
|
||||||
'''.stripIndent())
|
'''.stripIndent())
|
||||||
},
|
},
|
||||||
'Download fake audio': {
|
'Download fake audio': {
|
||||||
|
|
Loading…
Reference in New Issue