projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36f41c
)
Test to remove delay in tests when running multiple servers
author
Chocobozzz
<me@florianbigard.com>
Fri, 14 Sep 2018 07:58:49 +0000
(09:58 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 14 Sep 2018 07:58:49 +0000
(09:58 +0200)
server/tests/utils/server/servers.ts
patch
|
blob
|
history
diff --git
a/server/tests/utils/server/servers.ts
b/server/tests/utils/server/servers.ts
index e95be4a16f0b9a50a3f25003c92309ade6f02c77..26ab4e1bb44e9f6ed063158a3c84db157dc224f5 100644
(file)
--- a/
server/tests/utils/server/servers.ts
+++ b/
server/tests/utils/server/servers.ts
@@
-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))
}
})
})