aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli/prune-storage.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-17 11:09:54 +0200
committerChocobozzz <me@florianbigard.com>2021-06-17 11:09:54 +0200
commit52fb1d97baa67137e3a9afadb2cc9ec2cfc04952 (patch)
treed9aa612914cef093117307cfecb7eff5310bf9eb /server/tests/cli/prune-storage.ts
parent29b7426c671c91b8567b038df30b9ae909ee838a (diff)
downloadPeerTube-52fb1d97baa67137e3a9afadb2cc9ec2cfc04952.tar.gz
PeerTube-52fb1d97baa67137e3a9afadb2cc9ec2cfc04952.tar.zst
PeerTube-52fb1d97baa67137e3a9afadb2cc9ec2cfc04952.zip
Fix prune storage tests
Diffstat (limited to 'server/tests/cli/prune-storage.ts')
-rw-r--r--server/tests/cli/prune-storage.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/cli/prune-storage.ts b/server/tests/cli/prune-storage.ts
index 591ed217f..5c9e023e1 100644
--- a/server/tests/cli/prune-storage.ts
+++ b/server/tests/cli/prune-storage.ts
@@ -12,6 +12,7 @@ import {
12 flushAndRunMultipleServers, 12 flushAndRunMultipleServers,
13 getAccount, 13 getAccount,
14 getEnvCli, 14 getEnvCli,
15 killallServers,
15 makeGetRequest, 16 makeGetRequest,
16 ServerInfo, 17 ServerInfo,
17 setAccessTokensToServers, 18 setAccessTokensToServers,
@@ -116,6 +117,9 @@ describe('Test prune storage scripts', function () {
116 await wait(1000) 117 await wait(1000)
117 118
118 await waitJobs(servers) 119 await waitJobs(servers)
120 killallServers(servers)
121
122 await wait(1000)
119 }) 123 })
120 124
121 it('Should have the files on the disk', async function () { 125 it('Should have the files on the disk', async function () {