aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-09 15:37:43 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commit9293139fde7091e9badcafa9b570b83cea9a10ad (patch)
tree9728412f02af4aa59d2c016db47624251e8f6be6 /server/tests/cli
parent078f17e6d90376050f43ce639e88e11869b49ee7 (diff)
downloadPeerTube-9293139fde7091e9badcafa9b570b83cea9a10ad.tar.gz
PeerTube-9293139fde7091e9badcafa9b570b83cea9a10ad.tar.zst
PeerTube-9293139fde7091e9badcafa9b570b83cea9a10ad.zip
Introduce sql command
Diffstat (limited to 'server/tests/cli')
-rw-r--r--server/tests/cli/plugins.ts4
-rw-r--r--server/tests/cli/prune-storage.ts2
-rw-r--r--server/tests/cli/update-host.ts2
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