Skip to content

Commit

Permalink
docs(systemtests): update systemtests docs
Browse files Browse the repository at this point in the history
Signed-off-by: ChengenH <[email protected]>
  • Loading branch information
ChengenH committed Dec 22, 2024
1 parent 133bb85 commit dba92a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions systemtests/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func (s *SystemUnderTest) ModifyGenesisJSON(t *testing.T, mutators ...GenesisMut
s.modifyGenesisJSON(t, mutators...)
}

// modify json without enforcing a reset
// modifyGenesisJSON modify json without enforcing a reset
func (s *SystemUnderTest) modifyGenesisJSON(t *testing.T, mutators ...GenesisMutator) {
t.Helper()
require.Empty(t, s.currentHeight.Load(), "forced chain reset required")
Expand Down Expand Up @@ -606,7 +606,7 @@ func (s *SystemUnderTest) startNodesAsync(t *testing.T, xargs ...string) {
})
}

// tracks the PID in state with a go routine waiting for the shutdown completion to unregister
// awaitProcessCleanup tracks the PID in state with a go routine waiting for the shutdown completion to unregister
func (s *SystemUnderTest) awaitProcessCleanup(cmd *exec.Cmd) {
pid := cmd.Process.Pid
s.pidsLock.Lock()
Expand Down Expand Up @@ -777,7 +777,7 @@ func (s *SystemUnderTest) NewEventListener(t *testing.T) *EventListener {
return NewEventListener(t, s.rpcAddr)
}

// is any process let running?
// anyNodeRunning is any process let running?
func (s *SystemUnderTest) anyNodeRunning() bool {
s.pidsLock.RLock()
defer s.pidsLock.RUnlock()
Expand Down

0 comments on commit dba92a3

Please sign in to comment.