Skip to content

Commit

Permalink
update ports (#1848)
Browse files Browse the repository at this point in the history
* update ports

* fix

* fix
  • Loading branch information
tudor-malene authored Mar 20, 2024
1 parent c6664e0 commit abcfc38
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions integration/constants.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
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 = 12000
StartPortNodeRunnerTest = 14000
StartPortTenGatewayUnitTest = 16000
StartPortSimulationGethInMem = 18000
StartPortSimulationInMem = 22000
StartPortSimulationFullNetwork = 26000
StartPortNetworkTests = 28000
StartPortSmartContractTests = 30000
StartPortContractDeployerTest1 = 34000
StartPortContractDeployerTest2 = 35000
StartPortWalletExtensionUnitTest = 38000
StartPortFaucetUnitTest = 42000
StartPortFaucetHTTPUnitTest = 48000
StartPortTenscanUnitTest = 11000
StartPortNodeRunnerTest = 12000
StartPortSimulationGethInMem = 14000
StartPortSimulationInMem = 15000
StartPortSimulationFullNetwork = 16000
StartPortNetworkTests = 17000
StartPortSmartContractTests = 18000
StartPortContractDeployerTest1 = 19000
StartPortContractDeployerTest2 = 20000
StartPortWalletExtensionUnitTest = 21000
StartPortFaucetUnitTest = 22000
StartPortFaucetHTTPUnitTest = 23000
StartPortTenGatewayUnitTest = 24000

DefaultGethWSPortOffset = 100
DefaultGethAUTHPortOffset = 200
Expand Down
2 changes: 1 addition & 1 deletion integration/simulation/simulation.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (s *Simulation) Start() {

// Arbitrary sleep to wait for RPC clients to get up and running
// and for all l2 nodes to receive the genesis l2 batch
time.Sleep(5 * time.Second)
time.Sleep(6 * time.Second)

s.bridgeFundingToObscuro()
s.trackLogs() // Create log subscriptions, to validate that they're working correctly later.
Expand Down

0 comments on commit abcfc38

Please sign in to comment.