MCPcopy Create free account
hub / github.com/crytic/attacknet / runWaitForDuration

Method runWaitForDuration

pkg/test_executor/executor.go:136–140  ·  view source on GitHub ↗
(step PlanStepWait)

Source from the content-addressed store, hash-verified

134}
135
136func (te *TestExecutor) runWaitForDuration(step PlanStepWait) error {
137 log.Infof("Sleeping for %.0f seconds", step.WaitAmount.Seconds())
138 time.Sleep(step.WaitAmount)
139 return nil
140}
141
142func waitForInjectionCompleted(ctx context.Context, session *chaos_mesh.FaultSession) error {
143 // First, wait 10 seconds to allow chaos-mesh to inject into the cluster.

Callers 1

RunTestPlanMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected