MCPcopy
hub / github.com/etcd-io/etcd / newTestOptions

Function newTestOptions

tests/framework/integration/testing.go:54–60  ·  view source on GitHub ↗
(opts ...TestOption)

Source from the content-addressed store, hash-verified

52}
53
54func newTestOptions(opts ...TestOption) *testOptions {
55 o := &testOptions{goLeakDetection: true, skipInShort: true}
56 for _, opt := range opts {
57 opt(o)
58 }
59 return o
60}
61
62type TestOption func(opt *testOptions)
63

Callers 1

BeforeTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…