]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/cli/prune-storage.ts
Fix prune storage tests
[github/Chocobozzz/PeerTube.git] / server / tests / cli / prune-storage.ts
index 591ed217fa46094193416c31e399c4ddcb58d847..5c9e023e1e23723f46207294ddbea9c27d473fb9 100644 (file)
@@ -12,6 +12,7 @@ import {
   flushAndRunMultipleServers,
   getAccount,
   getEnvCli,
+  killallServers,
   makeGetRequest,
   ServerInfo,
   setAccessTokensToServers,
@@ -116,6 +117,9 @@ describe('Test prune storage scripts', function () {
     await wait(1000)
 
     await waitJobs(servers)
+    killallServers(servers)
+
+    await wait(1000)
   })
 
   it('Should have the files on the disk', async function () {