MCPcopy Create free account
hub / github.com/efficientgo/e2e / StartAndWaitReady

Function StartAndWaitReady

env.go:221–233  ·  view source on GitHub ↗
(runnables ...Runnable)

Source from the content-addressed store, hash-verified

219}
220
221func StartAndWaitReady(runnables ...Runnable) error {
222 for _, r := range runnables {
223 if err := r.Start(); err != nil {
224 return err
225 }
226 }
227 for _, r := range runnables {
228 if err := r.WaitReady(); err != nil {
229 return err
230 }
231 }
232 return nil
233}
234
235type Command struct {
236 Cmd string

Callers 6

TestDockerEnvironmentFunction · 0.92
StartFunction · 0.92
TestExampleAppFunction · 0.92
deployWithMonitoringFunction · 0.92
TestExampleFunction · 0.92
StartFunction · 0.92

Calls 2

StartMethod · 0.65
WaitReadyMethod · 0.65

Tested by 3

TestDockerEnvironmentFunction · 0.74
TestExampleAppFunction · 0.74
TestExampleFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…