Skip to content

Commit

Permalink
Try with readcommited isolation level
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed Jul 21, 2024
1 parent c30dc72 commit f2a046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/db/dbtest/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func checkReadOnly(t testing.TB, DSN string) {
require.NoError(t, err)
defer conn.Close()

tx, err := conn.BeginTx(context.Background(), &sql.TxOptions{Isolation: sql.LevelSerializable})
tx, err := conn.BeginTx(context.Background(), &sql.TxOptions{Isolation: sql.LevelReadCommitted})
require.NoError(t, err)
defer tx.Rollback()

Expand Down

0 comments on commit f2a046b

Please sign in to comment.