Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Aug 22, 2024
1 parent c25487e commit 957446f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tests/systemtests/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,17 +347,7 @@ func (s *SystemUnderTest) StopSingleNode() error {
}

// Stop the 1st node
if err := p.Signal(syscall.SIGTERM); err != nil {
s.Logf("failed to stop node with pid %d: %s\n", p.Pid, err)
}

// Wait for node stop, if not force kill
_, err = p.Wait()
if err != nil {
return p.Kill()
}

return nil
return p.Signal(syscall.SIGTERM)
}

// StartSingleNode start running a validator node with dir input
Expand Down

0 comments on commit 957446f

Please sign in to comment.