Skip to content

Commit

Permalink
Attempt E2E flaking fix (#5256)
Browse files Browse the repository at this point in the history
* Fix test sharding

* Attempt fix
  • Loading branch information
0xKiwi committed Mar 31, 2020
1 parent 00ef08b commit 404a0f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions endtoend/params/params.go
Expand Up @@ -45,7 +45,7 @@ func Init(beaconNodeCount int) error {
}
testIndexStr, ok := os.LookupEnv("TEST_SHARD_INDEX")
if !ok {
testIndexStr = "0"
testIndexStr = "8"
}
testIndex, err := strconv.Atoi(testIndexStr)
if err != nil {
Expand All @@ -57,7 +57,7 @@ func Init(beaconNodeCount int) error {
LogPath: logPath,
TestShardIndex: testIndex,
BeaconNodeCount: beaconNodeCount,
Eth1RPCPort: 3000 + testIndex*100, //Multiplying 100 here so the test index doesn't conflict with the other node ports.
Eth1RPCPort: 3000 + testIndex*100, // Multiplying 100 here so the test index doesn't conflict with the other node ports.
BeaconNodeRPCPort: 4000 + testIndex*100,
BeaconNodeMetricsPort: 5000 + testIndex*100,
ValidatorMetricsPort: 6000 + testIndex*100,
Expand Down

0 comments on commit 404a0f6

Please sign in to comment.