From 5c0ecc340ec635baa4549124cc0a055aa0de38f2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Nov 2020 14:23:52 +0100 Subject: Disable HTTP import in push actions --- server/tests/cli/peertube.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'server/tests/cli/peertube.ts') diff --git a/server/tests/cli/peertube.ts b/server/tests/cli/peertube.ts index 27fbde02d..e2861f46e 100644 --- a/server/tests/cli/peertube.ts +++ b/server/tests/cli/peertube.ts @@ -2,8 +2,10 @@ import 'mocha' import { expect } from 'chai' +import { Video, VideoDetails } from '../../../shared' import { addVideoChannel, + areHttpImportTestsDisabled, buildAbsoluteFixturePath, cleanupTests, createUser, @@ -21,7 +23,6 @@ import { userLogin, waitJobs } from '../../../shared/extra-utils' -import { Video, VideoDetails } from '../../../shared' import { getYoutubeVideoUrl } from '../../../shared/extra-utils/videos/video-imports' describe('Test CLI wrapper', function () { @@ -112,6 +113,8 @@ describe('Test CLI wrapper', function () { }) it('Should import a video', async function () { + if (areHttpImportTestsDisabled()) return + this.timeout(60000) const env = getEnvCli(server) @@ -122,6 +125,8 @@ describe('Test CLI wrapper', function () { }) it('Should have imported the video', async function () { + if (areHttpImportTestsDisabled()) return + this.timeout(60000) await waitJobs([ server ]) @@ -144,6 +149,8 @@ describe('Test CLI wrapper', function () { }) it('Should import and override some imported attributes', async function () { + if (areHttpImportTestsDisabled()) return + this.timeout(60000) const env = getEnvCli(server) -- cgit v1.2.3