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 <hce19970702@gmail.com>
  • Loading branch information
ChengenH committed Dec 22, 2024
1 parent e66b383 commit cb7c6d9
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 @@ -493,7 +493,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 @@ -607,7 +607,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 @@ -779,7 +779,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 cb7c6d9

Please sign in to comment.