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

Function TestOpen_Timeout

coderd/database/dbtestutil/postgres_test.go:115–122  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

113}
114
115func TestOpen_Timeout(t *testing.T) {
116 t.Skip("unskip this and set a short timeout to manually test that we don't leak a database into postgres")
117 t.Parallel()
118
119 _, err := dbtestutil.Open(t)
120 require.NoError(t, err)
121 time.Sleep(11 * time.Minute)
122}

Callers

nothing calls this directly

Calls 2

OpenFunction · 0.92
SkipMethod · 0.80

Tested by

no test coverage detected