@@ -566,6 +566,8 @@ func TestError(t *testing.T) {
566566const testLogMsg = "System FOO has caused error BAR because of incorrectly configured BAZ"
567567
568568func TestOmitLogWithFieldKeys (t * testing.T ) {
569+ t .Parallel ()
570+
569571 testCases := map [string ]struct {
570572 msg string
571573 additionalFields []map [string ]interface {}
@@ -650,6 +652,8 @@ func TestOmitLogWithFieldKeys(t *testing.T) {
650652}
651653
652654func TestOmitLogWithMessageRegexes (t * testing.T ) {
655+ t .Parallel ()
656+
653657 testCases := map [string ]struct {
654658 msg string
655659 additionalFields []map [string ]interface {}
@@ -734,6 +738,8 @@ func TestOmitLogWithMessageRegexes(t *testing.T) {
734738}
735739
736740func TestOmitLogWithMessageStrings (t * testing.T ) {
741+ t .Parallel ()
742+
737743 testCases := map [string ]struct {
738744 msg string
739745 additionalFields []map [string ]interface {}
@@ -818,6 +824,8 @@ func TestOmitLogWithMessageStrings(t *testing.T) {
818824}
819825
820826func TestMaskFieldValuesWithFieldKeys (t * testing.T ) {
827+ t .Parallel ()
828+
821829 testCases := map [string ]struct {
822830 msg string
823831 additionalFields []map [string ]interface {}
@@ -910,6 +918,8 @@ func TestMaskFieldValuesWithFieldKeys(t *testing.T) {
910918}
911919
912920func TestMaskAllFieldValuesRegexes (t * testing.T ) {
921+ t .Parallel ()
922+
913923 testCases := map [string ]struct {
914924 msg string
915925 additionalFields []map [string ]interface {}
@@ -1002,6 +1012,8 @@ func TestMaskAllFieldValuesRegexes(t *testing.T) {
10021012}
10031013
10041014func TestMaskAllFieldValuesStrings (t * testing.T ) {
1015+ t .Parallel ()
1016+
10051017 testCases := map [string ]struct {
10061018 msg string
10071019 additionalFields []map [string ]interface {}
@@ -1094,6 +1106,8 @@ func TestMaskAllFieldValuesStrings(t *testing.T) {
10941106}
10951107
10961108func TestMaskMessageRegexes (t * testing.T ) {
1109+ t .Parallel ()
1110+
10971111 testCases := map [string ]struct {
10981112 msg string
10991113 additionalFields []map [string ]interface {}
@@ -1186,6 +1200,8 @@ func TestMaskMessageRegexes(t *testing.T) {
11861200}
11871201
11881202func TestMaskMessageStrings (t * testing.T ) {
1203+ t .Parallel ()
1204+
11891205 testCases := map [string ]struct {
11901206 msg string
11911207 additionalFields []map [string ]interface {}
@@ -1278,6 +1294,8 @@ func TestMaskMessageStrings(t *testing.T) {
12781294}
12791295
12801296func TestMaskLogRegexes (t * testing.T ) {
1297+ t .Parallel ()
1298+
12811299 testCases := map [string ]struct {
12821300 msg string
12831301 additionalFields []map [string ]interface {}
@@ -1370,6 +1388,8 @@ func TestMaskLogRegexes(t *testing.T) {
13701388}
13711389
13721390func TestMaskLogStrings (t * testing.T ) {
1391+ t .Parallel ()
1392+
13731393 testCases := map [string ]struct {
13741394 msg string
13751395 additionalFields []map [string ]interface {}
0 commit comments