diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-09 15:37:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 9293139fde7091e9badcafa9b570b83cea9a10ad (patch) | |
tree | 9728412f02af4aa59d2c016db47624251e8f6be6 /server/tests/api/redundancy | |
parent | 078f17e6d90376050f43ce639e88e11869b49ee7 (diff) | |
download | PeerTube-9293139fde7091e9badcafa9b570b83cea9a10ad.tar.gz PeerTube-9293139fde7091e9badcafa9b570b83cea9a10ad.tar.zst PeerTube-9293139fde7091e9badcafa9b570b83cea9a10ad.zip |
Introduce sql command
Diffstat (limited to 'server/tests/api/redundancy')
-rw-r--r-- | server/tests/api/redundancy/redundancy-constraints.ts | 4 | ||||
-rw-r--r-- | server/tests/api/redundancy/redundancy.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/redundancy/redundancy-constraints.ts b/server/tests/api/redundancy/redundancy-constraints.ts index 500b96747..82d952471 100644 --- a/server/tests/api/redundancy/redundancy-constraints.ts +++ b/server/tests/api/redundancy/redundancy-constraints.ts | |||
@@ -121,7 +121,7 @@ describe('Test redundancy constraints', function () { | |||
121 | } | 121 | } |
122 | } | 122 | } |
123 | } | 123 | } |
124 | await killallServers([ localServer ]) | 124 | await await killallServers([ localServer ]) |
125 | await reRunServer(localServer, config) | 125 | await reRunServer(localServer, config) |
126 | 126 | ||
127 | await uploadWrapper('video 2 server 2') | 127 | await uploadWrapper('video 2 server 2') |
@@ -150,7 +150,7 @@ describe('Test redundancy constraints', function () { | |||
150 | } | 150 | } |
151 | } | 151 | } |
152 | } | 152 | } |
153 | killallServers([ localServer ]) | 153 | await killallServers([ localServer ]) |
154 | await reRunServer(localServer, config) | 154 | await reRunServer(localServer, config) |
155 | 155 | ||
156 | await uploadWrapper('video 3 server 2') | 156 | await uploadWrapper('video 3 server 2') |
diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts index d20cb80f1..56a2af395 100644 --- a/server/tests/api/redundancy/redundancy.ts +++ b/server/tests/api/redundancy/redundancy.ts | |||
@@ -634,7 +634,7 @@ describe('Test videos redundancy', function () { | |||
634 | it('Should stop server 1 and expire video redundancy', async function () { | 634 | it('Should stop server 1 and expire video redundancy', async function () { |
635 | this.timeout(80000) | 635 | this.timeout(80000) |
636 | 636 | ||
637 | killallServers([ servers[0] ]) | 637 | await killallServers([ servers[0] ]) |
638 | 638 | ||
639 | await wait(15000) | 639 | await wait(15000) |
640 | 640 | ||
@@ -703,7 +703,7 @@ describe('Test videos redundancy', function () { | |||
703 | 703 | ||
704 | await waitJobs(servers) | 704 | await waitJobs(servers) |
705 | 705 | ||
706 | killallServers([ servers[0] ]) | 706 | await killallServers([ servers[0] ]) |
707 | await reRunServer(servers[0], { | 707 | await reRunServer(servers[0], { |
708 | redundancy: { | 708 | redundancy: { |
709 | videos: { | 709 | videos: { |