aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/redundancy
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/redundancy')
-rw-r--r--server/tests/api/redundancy/redundancy-constraints.ts4
-rw-r--r--server/tests/api/redundancy/redundancy.ts4
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: {