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

Function TestMain

agent/immortalstreams/backedpipe/ring_buffer_internal_test.go:15–22  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

13)
14
15func TestMain(m *testing.M) {
16 if runtime.GOOS == "windows" {
17 // Don't run goleak on windows tests, they're super flaky right now.
18 // See: https://github.com/coder/coder/issues/8954
19 os.Exit(m.Run())
20 }
21 goleak.VerifyTestMain(m, testutil.GoleakOptions...)
22}
23
24func TestRingBuffer_NewRingBuffer(t *testing.T) {
25 t.Parallel()

Callers

nothing calls this directly

Calls 2

ExitMethod · 0.80
RunMethod · 0.65

Tested by

no test coverage detected