diff --git a/ci-scripts/openvidu-e2e-tests.sh b/ci-scripts/openvidu-e2e-tests.sh index 8010b418..ae8f980e 100755 --- a/ci-scripts/openvidu-e2e-tests.sh +++ b/ci-scripts/openvidu-e2e-tests.sh @@ -281,6 +281,7 @@ if [[ "${PREPARE}" == true || "${EXECUTE_ALL}" == true ]]; then # Download fake videos FAKE_VIDEO1=/opt/openvidu/barcode.y4m FAKE_VIDEO2=/opt/openvidu/girl.mjpeg + FAKE_VIDEO3=/opt/openvidu/stt-test.wav 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 else @@ -291,6 +292,11 @@ if [[ "${PREPARE}" == true || "${EXECUTE_ALL}" == true ]]; then else echo "File ${FAKE_VIDEO2} already exists" 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 FAKE_AUDIO=/opt/openvidu/fakeaudio.wav diff --git a/openvidu-test-e2e/docker/stt-test.wav b/openvidu-test-e2e/docker/stt-test.wav new file mode 100755 index 00000000..1d89f367 Binary files /dev/null and b/openvidu-test-e2e/docker/stt-test.wav differ diff --git a/openvidu-test-e2e/jenkins/commonFunctions.groovy b/openvidu-test-e2e/jenkins/commonFunctions.groovy index 2e09a6cb..6bb94b50 100644 --- a/openvidu-test-e2e/jenkins/commonFunctions.groovy +++ b/openvidu-test-e2e/jenkins/commonFunctions.groovy @@ -86,6 +86,7 @@ def prepareTestingEnvironment() { sh(script: '''#!/bin/bash -xe FAKE_VIDEO1=/opt/openvidu-cache/barcode.y4m FAKE_VIDEO2=/opt/openvidu-cache/girl.mjpeg + FAKE_VIDEO3=/opt/openvidu-cache/stt-test.wav 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 else @@ -96,8 +97,14 @@ def prepareTestingEnvironment() { else echo "File ${FAKE_VIDEO2} already exists" 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/girl.mjpeg /opt/openvidu/girl.mjpeg + sudo cp /opt/openvidu-cache/stt-test.wav /opt/openvidu/stt-test.wav '''.stripIndent()) }, 'Download fake audio': {