mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-07 16:03:13 +00:00
increase port gap by 1000 to avoid clashes in windows
This commit is contained in:
parent
c51103165b
commit
9cd9f5e29f
@ -325,9 +325,9 @@ proc buildCommand(
|
||||
# cannot rely on `nextFreePort` in multinodes entirely as there could be a
|
||||
# concurrency issue where the port is determined free in mulitiple tests and
|
||||
# then there is a clash during the run.
|
||||
let apiPort = await nextFreePort(test.manager.lastCodexApiPort + 100)
|
||||
let apiPort = await nextFreePort(test.manager.lastCodexApiPort + 1000)
|
||||
test.manager.lastCodexApiPort = apiPort
|
||||
let discPort = await nextFreePort(test.manager.lastCodexDiscPort + 100)
|
||||
let discPort = await nextFreePort(test.manager.lastCodexDiscPort + 1000)
|
||||
test.manager.lastCodexDiscPort = discPort
|
||||
|
||||
withLock(test.manager.hardhatPortLock):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user