mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Terminate bootnode after E2E test completion (#5656)
* Terminate bootnode after test completion
This commit is contained in:
parent
f84e5ad6ef
commit
6700383863
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user