aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils')
-rw-r--r--server/tests/utils/server/servers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/utils/server/servers.ts b/server/tests/utils/server/servers.ts
index 1372c03c3..e95be4a16 100644
--- a/server/tests/utils/server/servers.ts
+++ b/server/tests/utils/server/servers.ts
@@ -35,7 +35,7 @@ interface ServerInfo {
35 } 35 }
36} 36}
37 37
38function flushAndRunMultipleServers (totalServers) { 38function flushAndRunMultipleServers (totalServers: number, configOverride?: Object) {
39 let apps = [] 39 let apps = []
40 let i = 0 40 let i = 0
41 41
@@ -53,7 +53,7 @@ function flushAndRunMultipleServers (totalServers) {
53 for (let j = 1; j <= totalServers; j++) { 53 for (let j = 1; j <= totalServers; j++) {
54 // For the virtual buffer 54 // For the virtual buffer
55 setTimeout(() => { 55 setTimeout(() => {
56 runServer(j).then(app => anotherServerDone(j, app)) 56 runServer(j, configOverride).then(app => anotherServerDone(j, app))
57 }, 1000 * (j - 1)) 57 }, 1000 * (j - 1))
58 } 58 }
59 }) 59 })