MCPcopy Index your code
hub / github.com/coder/coder / RaceEnabled

Function RaceEnabled

testutil/race.go:8–10  ·  view source on GitHub ↗

RaceEnabled returns whether the race detector is enabled. This is a constant at compile time. It should be used to conditionally skip tests that are known to be sensitive to being run with the race detector enabled. Please use sparingly and as a last resort.

()

Source from the content-addressed store, hash-verified

6// being run with the race detector enabled.
7// Please use sparingly and as a last resort.
8func RaceEnabled() bool {
9 return raceEnabled
10}

Callers 10

TestScaleTestDashboardFunction · 0.92
Test_RunnerFunction · 0.92
TestRunFunction · 0.92
Test_RunFunction · 0.92
Test_RunnerFunction · 0.92

Calls

no outgoing calls

Tested by 10

TestScaleTestDashboardFunction · 0.74
Test_RunnerFunction · 0.74
TestRunFunction · 0.74
Test_RunFunction · 0.74
Test_RunnerFunction · 0.74