From 6700383863720654d1acf07fb6231f20d3095e88 Mon Sep 17 00:00:00 2001 From: Ivan Martinez Date: Mon, 27 Apr 2020 20:49:26 -0400 Subject: [PATCH] Terminate bootnode after E2E test completion (#5656) * Terminate bootnode after test completion --- endtoend/endtoend_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endtoend/endtoend_test.go b/endtoend/endtoend_test.go index ccd5c707342f..5d4095461869 100644 --- a/endtoend/endtoend_test.go +++ b/endtoend/endtoend_test.go @@ -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)