Skip to content

Commit

Permalink
Add t.Parallel() to existing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries committed Jan 6, 2025
1 parent e6e4523 commit 439b0b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/migrations/migrations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
)

func TestMigrationsIsolated(t *testing.T) {
t.Parallel()

migration := Migration{
Name: "sql",
Operations: Operations{
Expand All @@ -27,6 +29,8 @@ func TestMigrationsIsolated(t *testing.T) {
}

func TestMigrationsIsolatedValid(t *testing.T) {
t.Parallel()

migration := Migration{
Name: "sql",
Operations: Operations{
Expand All @@ -40,6 +44,8 @@ func TestMigrationsIsolatedValid(t *testing.T) {
}

func TestOnCompleteSQLMigrationsAreNotIsolated(t *testing.T) {
t.Parallel()

migration := Migration{
Name: "sql",
Operations: Operations{
Expand Down

0 comments on commit 439b0b4

Please sign in to comment.