Skip to content

Commit

Permalink
Remove parallel test markers for nicer output in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
metafeather committed Jun 2, 2024
1 parent e3e1ef8 commit ac96a41
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/l4postgres/matcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ func Fatalf(t *testing.T, err error, matched bool, expect bool, explain string)
}

func TestPostgres(t *testing.T) {
t.Parallel() // marks as capable of running in parallel with other tests

// ref: https://go.dev/wiki/TableDrivenTests
tests := []struct {
name string
Expand Down Expand Up @@ -135,8 +133,6 @@ func TestPostgres(t *testing.T) {
for _, tc := range tests {
tc := tc // NOTE: /wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables
t.Run(tc.name, func(t *testing.T) {
t.Parallel()

data, err := tc.data.Read()
assertNoError(t, err)

Expand All @@ -147,8 +143,6 @@ func TestPostgres(t *testing.T) {
}

func TestPostgresSSL(t *testing.T) {
t.Parallel() // marks as capable of running in parallel with other tests

// ref: https://go.dev/wiki/TableDrivenTests
tests := []struct {
name string
Expand Down Expand Up @@ -244,8 +238,6 @@ func TestPostgresSSL(t *testing.T) {
for _, tc := range tests {
tc := tc // NOTE: /wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables
t.Run(tc.name, func(t *testing.T) {
t.Parallel()

data, err := tc.data.Read()
assertNoError(t, err)

Expand Down

0 comments on commit ac96a41

Please sign in to comment.