Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Network Test Port #2018

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions integration/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ package integration
// Tracks the start ports handed out to different tests, in a bid to minimise conflicts.
// Note: the max should not exceed 30000 because the OS can use those ports and we'll get conflicts
const (
StartPortEth2NetworkTests = 10000
StartPortTenscanUnitTest = 11000
StartPortNodeRunnerTest = 12000
StartPortSimulationGethInMem = 14000
StartPortSimulationInMem = 15000
StartPortSimulationFullNetwork = 16000
StartPortNetworkTests = 17000
StartPortSmartContractTests = 18000
StartPortContractDeployerTest1 = 19000
StartPortContractDeployerTest2 = 21000
StartPortFaucetUnitTest = 22000
StartPortFaucetHTTPUnitTest = 23000
StartPortTenGatewayUnitTest = 24000
StartPortWalletExtensionUnitTest = 25000
StartPortEth2NetworkTests = 10000
StartPortTenscanUnitTest = 11000
StartPortNodeRunnerTest = 12000
StartPortSimulationGethInMem = 14000
StartPortSimulationInMem = 15000
StartPortSimulationFullNetwork = 16000
DoNotUse = 17000 // port conflict on this address
StartPortSmartContractTests = 18000
StartPortContractDeployerTest1 = 19000
StartPortContractDeployerTest2 = 21000
StartPortFaucetUnitTest = 22000
StartPortFaucetHTTPUnitTest = 23000
StartPortTenGatewayUnitTest = 24000
StartPortNetworkTests = 25000

DefaultGethWSPortOffset = 100
DefaultGethAUTHPortOffset = 200
Expand Down