Skip to content

Commit

Permalink
fix problem in testserver
Browse files Browse the repository at this point in the history
  • Loading branch information
j-white committed Apr 11, 2024
1 parent 0123ef0 commit 14cc2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testserver/datastore/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (b *postgresTester) NewDatastore(t testing.TB, initFunc InitFunc) datastore
for i := 0; i < retryCount; i++ {
connectStr := b.NewDatabase(t)

migrationDriver, err := pgmigrations.NewAlembicPostgresDriver(context.Background(), connectStr)
migrationDriver, err := pgmigrations.NewAlembicPostgresDriver(context.Background(), connectStr, nil)
if err == nil {
ctx := context.WithValue(context.Background(), migrate.BackfillBatchSize, uint64(1000))
require.NoError(t, pgmigrations.DatabaseMigrations.Run(ctx, migrationDriver, b.targetMigration, migrate.LiveRun))
Expand Down

0 comments on commit 14cc2bb

Please sign in to comment.