diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-18 09:14:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-18 09:14:51 +0200 |
commit | 1f6125be8b6306ba34b5ad9df985df462ef9759c (patch) | |
tree | 9894ab5a6b239f7797303c24f21e79019b942238 /server/tests/api | |
parent | 9df52d660feb722404be00a50f3c8a612bec1c15 (diff) | |
download | PeerTube-1f6125be8b6306ba34b5ad9df985df462ef9759c.tar.gz PeerTube-1f6125be8b6306ba34b5ad9df985df462ef9759c.tar.zst PeerTube-1f6125be8b6306ba34b5ad9df985df462ef9759c.zip |
Optimize torrent URL update
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/object-storage/videos.ts | 7 |
1 files changed, 7 insertions, 0 deletions
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 { | |||
10 | createMultipleServers, | 10 | createMultipleServers, |
11 | createSingleServer, | 11 | createSingleServer, |
12 | doubleFollow, | 12 | doubleFollow, |
13 | expectLogDoesNotContain, | ||
13 | expectStartWith, | 14 | expectStartWith, |
14 | killallServers, | 15 | killallServers, |
15 | makeRawRequest, | 16 | makeRawRequest, |
@@ -235,6 +236,12 @@ function runTestSuite (options: { | |||
235 | } | 236 | } |
236 | }) | 237 | }) |
237 | 238 | ||
239 | it('Should not have downloaded files from object storage', async function () { | ||
240 | for (const server of servers) { | ||
241 | await expectLogDoesNotContain(server, 'from object storage') | ||
242 | } | ||
243 | }) | ||
244 | |||
238 | after(async function () { | 245 | after(async function () { |
239 | mockObjectStorage.terminate() | 246 | mockObjectStorage.terminate() |
240 | 247 | ||