MCPcopy Create free account
hub / github.com/coder/coder / SkipIfNotTiming

Function SkipIfNotTiming

testutil/timing.go:16–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14var timing bool
15
16func SkipIfNotTiming(t *testing.T) {
17 if !timing {
18 t.Skip("skipping timing-sensitive test")
19 }
20}

Callers 2

TestAgentMetadata_TimingFunction · 0.92
Test_Runner_TimingFunction · 0.92

Calls 1

SkipMethod · 0.80

Tested by 2

TestAgentMetadata_TimingFunction · 0.74
Test_Runner_TimingFunction · 0.74