From 1f6125be8b6306ba34b5ad9df985df462ef9759c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 Aug 2021 09:14:51 +0200 Subject: Optimize torrent URL update --- server/tests/api/object-storage/videos.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'server/tests/api') diff --git a/server/tests/api/object-storage/videos.ts b/server/tests/api/object-storage/videos.ts index 3958bd3d7..6c9c224eb 100644 --- a/server/tests/api/object-storage/videos.ts +++ b/server/tests/api/object-storage/videos.ts @@ -10,6 +10,7 @@ import { createMultipleServers, createSingleServer, doubleFollow, + expectLogDoesNotContain, expectStartWith, killallServers, makeRawRequest, @@ -235,6 +236,12 @@ function runTestSuite (options: { } }) + it('Should not have downloaded files from object storage', async function () { + for (const server of servers) { + await expectLogDoesNotContain(server, 'from object storage') + } + }) + after(async function () { mockObjectStorage.terminate() -- cgit v1.2.3