From 9cd9f5e29f0547fa41384e0e27a8becb2762e49f Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 6 Feb 2025 17:50:33 +1100 Subject: [PATCH] increase port gap by 1000 to avoid clashes in windows --- tests/integration/testmanager.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/testmanager.nim b/tests/integration/testmanager.nim index 4ce54098..928445e6 100644 --- a/tests/integration/testmanager.nim +++ b/tests/integration/testmanager.nim @@ -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):