Skip to content

Commit

Permalink
Terminate bootnode after E2E test completion (#5656)
Browse files Browse the repository at this point in the history
* Terminate bootnode after test completion
  • Loading branch information
0xKiwi authored Apr 28, 2020
1 parent f84e5ad commit 6700383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions endtoend/endtoend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ func runEndToEndTest(t *testing.T, config *types.E2EConfig) {
t.Logf("Log Path: %s\n\n", e2e.TestParams.LogPath)

keystorePath, eth1PID := components.StartEth1Node(t)
bootnodeENR, _ := components.StartBootnode(t)
bootnodeENR, bootnodePID := components.StartBootnode(t)
bProcessIDs := components.StartBeaconNodes(t, config, bootnodeENR)
valProcessIDs := components.StartValidatorClients(t, config, keystorePath)
processIDs := append(valProcessIDs, bProcessIDs...)
processIDs = append(processIDs, eth1PID)
processIDs = append(processIDs, []int{eth1PID, bootnodePID}...)
defer helpers.LogOutput(t, config)
defer helpers.KillProcesses(t, processIDs)

Expand Down

0 comments on commit 6700383

Please sign in to comment.