Test to remove delay in tests when running multiple servers
This commit is contained in:
parent
b36f41ca09
commit
d5f044cef2
1 changed files with 1 additions and 4 deletions
|
@ -51,10 +51,7 @@ function flushAndRunMultipleServers (totalServers: number, configOverride?: Obje
|
||||||
flushTests()
|
flushTests()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
for (let j = 1; j <= totalServers; j++) {
|
for (let j = 1; j <= totalServers; j++) {
|
||||||
// For the virtual buffer
|
runServer(j, configOverride).then(app => anotherServerDone(j, app))
|
||||||
setTimeout(() => {
|
|
||||||
runServer(j, configOverride).then(app => anotherServerDone(j, app))
|
|
||||||
}, 1000 * (j - 1))
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue