From 3e142b314c4e10032d4290b52f636b778bbf2932 Mon Sep 17 00:00:00 2001 From: Jayash Satolia <73050737+Jayashsatolia403@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:26:52 +0530 Subject: [PATCH] Fix stream upload tests (#970) --- tests/cli_tests/zboxcli_file_upload_test.go | 48 ++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/tests/cli_tests/zboxcli_file_upload_test.go b/tests/cli_tests/zboxcli_file_upload_test.go index 8ff2a57b0f..48da9d178f 100644 --- a/tests/cli_tests/zboxcli_file_upload_test.go +++ b/tests/cli_tests/zboxcli_file_upload_test.go @@ -824,122 +824,122 @@ func TestUpload(testSetup *testing.T) { t.RunSequentiallyWithTimeout("stream tests for different formats", 20*time.Minute, func(t *test.SystemTest) { sampleVideos := [][]string{ { - "https://filesamples.com/samples/video/wtv/sample_960x400_ocean_with_audio.wtv", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/wtv/sample_960x400_ocean_with_audio.wtv", "test_wtv_video", "wtv", }, { - "https://filesamples.com/samples/video/mts/sample_960x400_ocean_with_audio.mts", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mts/sample_960x400_ocean_with_audio.mts", "test_mts_video", "mts", }, { - "https://filesamples.com/samples/video/f4v/sample_960x400_ocean_with_audio.f4v", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/f4v/sample_960x400_ocean_with_audio.f4v", "test_f4v_video", "f4v", }, { - "https://filesamples.com/samples/video/flv/sample_960x400_ocean_with_audio.flv", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/flv/sample_960x400_ocean_with_audio.flv", "test_flv_video", "flv", }, { - "https://filesamples.com/samples/video/3gp/sample_960x400_ocean_with_audio.3gp", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/3gp/sample_960x400_ocean_with_audio.3gp", "test_3gp_video", "3gp", }, { - "https://filesamples.com/samples/video/m4v/sample_960x400_ocean_with_audio.m4v", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/m4v/sample_960x400_ocean_with_audio.m4v", "test_m4v_video", "m4v", }, { - "https://filesamples.com/samples/video/mov/sample_960x400_ocean_with_audio.mov", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mov/sample_960x400_ocean_with_audio.mov", "test_mov_video", "mov", }, { - "https://filesamples.com/samples/video/mp4/sample_960x400_ocean_with_audio.mp4", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mp4/sample_960x400_ocean_with_audio.mp4", "test_mp4_video", "mp4", }, { - "https://filesamples.com/samples/video/mjpeg/sample_960x400_ocean_with_audio.mjpeg", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mjpeg/sample_960x400_ocean_with_audio.mjpeg", "test_mjpeg_video", "mjpeg", }, { - "https://filesamples.com/samples/video/mkv/sample_960x400_ocean_with_audio.mkv", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mkv/sample_960x400_ocean_with_audio.mkv", "test_mkv_video", "mkv", }, { - "https://filesamples.com/samples/video/hevc/sample_960x400_ocean_with_audio.hevc", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/hevc/sample_960x400_ocean_with_audio.hevc", "test_hevc_video", "hevc", }, { - "https://filesamples.com/samples/video/m2ts/sample_960x400_ocean_with_audio.m2ts", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/m2ts/sample_960x400_ocean_with_audio.m2ts", "test_m2ts_video", "m2ts", }, { - "https://filesamples.com/samples/video/m2v/sample_960x400_ocean_with_audio.m2v", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/m2v/sample_960x400_ocean_with_audio.m2v", "test_m2v_video", "m2v", }, { - "https://filesamples.com/samples/video/mpeg/sample_960x400_ocean_with_audio.mpeg", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mpeg/sample_960x400_ocean_with_audio.mpeg", "test_mpeg_video", "mpeg", }, { - "https://filesamples.com/samples/video/mpg/sample_960x400_ocean_with_audio.mpg", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mpg/sample_960x400_ocean_with_audio.mpg", "test_mpg_video", "mpg", }, { - "https://filesamples.com/samples/video/mxf/sample_960x400_ocean_with_audio.mxf", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/mxf/sample_960x400_ocean_with_audio.mxf", "test_mxf_video", "mxf", }, { - "https://filesamples.com/samples/video/ogv/sample_960x400_ocean_with_audio.ogv", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/ogv/sample_960x400_ocean_with_audio.ogv", "test_ogv_video", "ogv", }, { - "https://filesamples.com/samples/video/rm/sample_960x400_ocean_with_audio.rm", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/rm/sample_960x400_ocean_with_audio.rm", "test_rm_video", "rm", }, { - "https://filesamples.com/samples/video/ts/sample_960x400_ocean_with_audio.ts", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/ts/sample_960x400_ocean_with_audio.ts", "test_ts_video", "ts", }, { - "https://filesamples.com/samples/video/vob/sample_960x400_ocean_with_audio.vob", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/vob/sample_960x400_ocean_with_audio.vob", "test_vob_video", "vob", }, { - "https://filesamples.com/samples/video/asf/sample_960x400_ocean_with_audio.asf", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/asf/sample_960x400_ocean_with_audio.asf", "test_asf_video", "asf", }, { - "https://filesamples.com/samples/video/avi/sample_960x400_ocean_with_audio.avi", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/avi/sample_960x400_ocean_with_audio.avi", "test_avi_video", "avi", }, { - "https://filesamples.com/samples/video/webm/sample_960x400_ocean_with_audio.webm", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/webm/sample_960x400_ocean_with_audio.webm", "test_webm_video", "webm", }, { - "https://filesamples.com/samples/video/wmv/sample_960x400_ocean_with_audio.wmv", + "https://system-tests-empty.s3.eu-north-1.amazonaws.com/wmv/sample_960x400_ocean_with_audio.wmv", "test_wmv_video", "wmv", },