MCPcopy
hub / github.com/tailscale/tailscale / Parallel

Function Parallel

tstest/tstest.go:69–73  ·  view source on GitHub ↗

Parallel calls t.Parallel, unless TS_SERIAL_TESTS is set true.

(t *testing.T)

Source from the content-addressed store, hash-verified

67
68// Parallel calls t.Parallel, unless TS_SERIAL_TESTS is set true.
69func Parallel(t *testing.T) {
70 if !serializeParallel() {
71 t.Parallel()
72 }
73}
74
75// RequireRoot skips the test if the current user is not root.
76func RequireRoot(tb testing.TB) {

Callers 15

TestPeerCapMapFunction · 0.92
TestSetNodeCapMapFunction · 0.92
TestTUNModeFunction · 0.92
TestOneNodeUpNoAuthFunction · 0.92
TestOneNodeExpiredKeyFunction · 0.92
TestControlKnobsFunction · 0.92
TestCollectPanicFunction · 0.92
TestControlTimeLogLineFunction · 0.92
TestStateSavedOnStartFunction · 0.92
TestOneNodeUpAuthFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestPeerCapMapFunction · 0.74
TestSetNodeCapMapFunction · 0.74
TestTUNModeFunction · 0.74
TestOneNodeUpNoAuthFunction · 0.74
TestOneNodeExpiredKeyFunction · 0.74
TestControlKnobsFunction · 0.74
TestCollectPanicFunction · 0.74
TestControlTimeLogLineFunction · 0.74
TestStateSavedOnStartFunction · 0.74
TestOneNodeUpAuthFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…