]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/video-hls.ts
Try parallel check params tests
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / video-hls.ts
index a9251406abe6a5493d96a97863a745cd3fc399e8..22031c18bf0f61e84a457d2e0ee2c442298c431c 100644 (file)
@@ -5,7 +5,7 @@ import 'mocha'
 import {
   checkDirectoryIsEmpty,
   checkSegmentHash,
-  checkTmpIsEmpty,
+  checkTmpIsEmpty, cleanupTests,
   doubleFollow,
   flushAndRunMultipleServers,
   flushTests,
@@ -129,11 +129,6 @@ describe('Test HLS videos', function () {
   })
 
   after(async function () {
-    killallServers(servers)
-
-    // Keep the logs if the test failed
-    if (this['ok']) {
-      await flushTests()
-    }
+    await cleanupTests(servers)
   })
 })