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()
|
||||
.then(() => {
|
||||
for (let j = 1; j <= totalServers; j++) {
|
||||
// For the virtual buffer
|
||||
setTimeout(() => {
|
||||
runServer(j, configOverride).then(app => anotherServerDone(j, app))
|
||||
}, 1000 * (j - 1))
|
||||
runServer(j, configOverride).then(app => anotherServerDone(j, app))
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue