From ac96a41fb3836d6ed1bb0aa14870962639b25c58 Mon Sep 17 00:00:00 2001 From: "Liam Clancy (metafeather)" Date: Sun, 5 May 2024 00:19:59 +0100 Subject: [PATCH] Remove parallel test markers for nicer output in Github Actions --- modules/l4postgres/matcher_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/l4postgres/matcher_test.go b/modules/l4postgres/matcher_test.go index 7f4f712..c07ace1 100644 --- a/modules/l4postgres/matcher_test.go +++ b/modules/l4postgres/matcher_test.go @@ -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 @@ -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) @@ -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 @@ -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)