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

Function TestRollup_Close

coderd/database/dbrollup/dbrollup_test.go:27–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25}
26
27func TestRollup_Close(t *testing.T) {
28 t.Parallel()
29 db, _ := dbtestutil.NewDB(t)
30 rolluper := dbrollup.New(testutil.Logger(t), db, dbrollup.WithInterval(250*time.Millisecond))
31 err := rolluper.Close()
32 require.NoError(t, err)
33}
34
35type wrapUpsertDB struct {
36 database.Store

Callers

nothing calls this directly

Calls 5

NewDBFunction · 0.92
NewFunction · 0.92
LoggerFunction · 0.92
WithIntervalFunction · 0.92
CloseMethod · 0.65

Tested by

no test coverage detected