Skip to content

Commit e8a2b01

Browse files
committed
fixup! use dedicated channels for querier subscribe and closing conns
1 parent 036094f commit e8a2b01

File tree

1 file changed

+0
-4
lines changed
  • coderd/database/dbtestutil

1 file changed

+0
-4
lines changed

coderd/database/dbtestutil/db.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919

2020
"github.com/coder/coder/v2/coderd/database"
2121
"github.com/coder/coder/v2/coderd/database/dbfake"
22-
"github.com/coder/coder/v2/coderd/database/migrations"
2322
"github.com/coder/coder/v2/coderd/database/postgres"
2423
"github.com/coder/coder/v2/coderd/database/pubsub"
2524
)
@@ -94,9 +93,6 @@ func NewDB(t testing.TB, opts ...Option) (database.Store, pubsub.Pubsub) {
9493
}
9594
db = database.New(sqlDB)
9695

97-
err = migrations.Up(sqlDB)
98-
require.NoError(t, err)
99-
10096
ps, err = pubsub.New(context.Background(), sqlDB, connectionURL)
10197
require.NoError(t, err)
10298
t.Cleanup(func() {

0 commit comments

Comments
 (0)