X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fserver%2Freverse-proxy.ts;h=908b4a68cbd3a9cf0d71115ef72f74f22d97da80;hb=8a19bee1a1ee39f973bb37429e4f73c3f2873cdb;hp=4c2655f64215726408c6e75cf257d33039bd8363;hpb=09becad8e85cc4007ff862b26fa4195f3d0e7c8d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/server/reverse-proxy.ts b/server/tests/api/server/reverse-proxy.ts index 4c2655f64..908b4a68c 100644 --- a/server/tests/api/server/reverse-proxy.ts +++ b/server/tests/api/server/reverse-proxy.ts @@ -72,11 +72,6 @@ describe('Test application behind a reverse proxy', function () { }) after(async function () { - process.kill(-server.app.pid) - - // Keep the logs if the test failed - if (this['ok']) { - await flushTests() - } + killallServers([ server ]) }) })