diff options
Diffstat (limited to 'server/tests/cli')
-rw-r--r-- | server/tests/cli/plugins.ts | 4 | ||||
-rw-r--r-- | server/tests/cli/prune-storage.ts | 2 | ||||
-rw-r--r-- | server/tests/cli/update-host.ts | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/cli/plugins.ts b/server/tests/cli/plugins.ts index e5efae36b..5344bfc96 100644 --- a/server/tests/cli/plugins.ts +++ b/server/tests/cli/plugins.ts | |||
@@ -39,7 +39,7 @@ describe('Test plugin scripts', function () { | |||
39 | it('Should have the theme and the plugin registered when we restart peertube', async function () { | 39 | it('Should have the theme and the plugin registered when we restart peertube', async function () { |
40 | this.timeout(30000) | 40 | this.timeout(30000) |
41 | 41 | ||
42 | killallServers([ server ]) | 42 | await killallServers([ server ]) |
43 | await reRunServer(server) | 43 | await reRunServer(server) |
44 | 44 | ||
45 | const config = await server.configCommand.getConfig() | 45 | const config = await server.configCommand.getConfig() |
@@ -62,7 +62,7 @@ describe('Test plugin scripts', function () { | |||
62 | it('Should have removed the plugin on another peertube restart', async function () { | 62 | it('Should have removed the plugin on another peertube restart', async function () { |
63 | this.timeout(30000) | 63 | this.timeout(30000) |
64 | 64 | ||
65 | killallServers([ server ]) | 65 | await killallServers([ server ]) |
66 | await reRunServer(server) | 66 | await reRunServer(server) |
67 | 67 | ||
68 | const config = await server.configCommand.getConfig() | 68 | const config = await server.configCommand.getConfig() |
diff --git a/server/tests/cli/prune-storage.ts b/server/tests/cli/prune-storage.ts index fa1df65a9..d4dbee682 100644 --- a/server/tests/cli/prune-storage.ts +++ b/server/tests/cli/prune-storage.ts | |||
@@ -110,7 +110,7 @@ describe('Test prune storage scripts', function () { | |||
110 | await wait(1000) | 110 | await wait(1000) |
111 | 111 | ||
112 | await waitJobs(servers) | 112 | await waitJobs(servers) |
113 | killallServers(servers) | 113 | await killallServers(servers) |
114 | 114 | ||
115 | await wait(1000) | 115 | await wait(1000) |
116 | }) | 116 | }) |
diff --git a/server/tests/cli/update-host.ts b/server/tests/cli/update-host.ts index d3a1520cf..e986a04f2 100644 --- a/server/tests/cli/update-host.ts +++ b/server/tests/cli/update-host.ts | |||
@@ -61,7 +61,7 @@ describe('Test update host scripts', function () { | |||
61 | it('Should run update host', async function () { | 61 | it('Should run update host', async function () { |
62 | this.timeout(30000) | 62 | this.timeout(30000) |
63 | 63 | ||
64 | killallServers([ server ]) | 64 | await killallServers([ server ]) |
65 | // Run server with standard configuration | 65 | // Run server with standard configuration |
66 | await reRunServer(server) | 66 | await reRunServer(server) |
67 | 67 | ||