]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/cli/optimize-old-videos.ts
Cleanup tests
[github/Chocobozzz/PeerTube.git] / server / tests / cli / optimize-old-videos.ts
index b3724476b1a9ba66514eb7447a9c8cffa184d95c..14625f8c0b97f9acbac9f7abc916dfad163c734f 100644 (file)
@@ -31,8 +31,6 @@ describe('Test optimize old videos', function () {
   before(async function () {
     this.timeout(200000)
 
-    await flushTests()
-
     // Run server 2 to have transcoding enabled
     servers = await flushAndRunMultipleServers(2)
     await setAccessTokensToServers(servers)
@@ -114,7 +112,7 @@ describe('Test optimize old videos', function () {
     }
   })
 
-  after(async function () {
+  after(function () {
     killallServers(servers)
   })
 })