MCPcopy
hub / github.com/grafana/dskit / TestHelperFunctionsNoError

Function TestHelperFunctionsNoError

services/services_test.go:73–79  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

71}
72
73func TestHelperFunctionsNoError(t *testing.T) {
74 t.Parallel()
75
76 s := NewIdleService(nil, nil)
77 require.NoError(t, StartAndAwaitRunning(context.Background(), s))
78 require.NoError(t, StopAndAwaitTerminated(context.Background(), s))
79}
80
81func TestHelperFunctionsStartError(t *testing.T) {
82 t.Parallel()

Callers

nothing calls this directly

Calls 3

NewIdleServiceFunction · 0.85
StartAndAwaitRunningFunction · 0.85
StopAndAwaitTerminatedFunction · 0.85

Tested by

no test coverage detected