diff --git a/integration/constants.go b/integration/constants.go index 6191b4f932..37449c6dc5 100644 --- a/integration/constants.go +++ b/integration/constants.go @@ -8,7 +8,8 @@ const ( StartPortSimulationInMem = 22000 StartPortSimulationFullNetwork = 26000 StartPortSmartContractTests = 30000 - StartPortContractDeployerTest = 34000 + StartPortContractDeployerTest1 = 34000 + StartPortContractDeployerTest2 = 35000 StartPortWalletExtensionUnitTest = 38000 StartPortFaucetUnitTest = 42000 StartPortFaucetHTTPUnitTest = 48000 diff --git a/integration/contractdeployer/contract_deployer_test.go b/integration/contractdeployer/contract_deployer_test.go index 7fd64f6fa7..5907f99595 100644 --- a/integration/contractdeployer/contract_deployer_test.go +++ b/integration/contractdeployer/contract_deployer_test.go @@ -45,7 +45,7 @@ func init() { //nolint:gochecknoinits } func TestCanDeployLayer2ERC20Contract(t *testing.T) { - startPort := integration.StartPortContractDeployerTest + startPort := integration.StartPortContractDeployerTest1 hostWSPort := startPort + integration.DefaultHostRPCWSOffset createObscuroNetwork(t, startPort) // This sleep is required to ensure the initial rollup exists, and thus contract deployer can check its balance. @@ -81,7 +81,7 @@ func TestCanDeployLayer2ERC20Contract(t *testing.T) { } func TestFaucetSendsFundsOnlyIfNeeded(t *testing.T) { - startPort := integration.StartPortContractDeployerTest + startPort := integration.StartPortContractDeployerTest2 hostWSPort := startPort + integration.DefaultHostRPCWSOffset createObscuroNetwork(t, startPort) diff --git a/integration/eth2network/eth2_network.go b/integration/eth2network/eth2_network.go index 4713b72cf3..88202901aa 100644 --- a/integration/eth2network/eth2_network.go +++ b/integration/eth2network/eth2_network.go @@ -334,6 +334,8 @@ func (n *Impl) Stop() error { fmt.Printf("unable to kill prysm validator node - %s\n", err.Error()) } } + // wait a second for the kill signal + time.Sleep(time.Second) return nil }