From a99d5a34b73d093e1ba51449d78d21ad44ec71fa Mon Sep 17 00:00:00 2001 From: Ashish Bhate Date: Fri, 13 May 2022 16:08:38 +0530 Subject: [PATCH] MM-44148: fix race in CRT settings test (#20196) * MM-44148: Remove test parallization to prevent race * don't export pointer to loop variable * capture whole loop variable --- app/channel_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/channel_test.go b/app/channel_test.go index ed6e342885..fed99ffef0 100644 --- a/app/channel_test.go +++ b/app/channel_test.go @@ -2448,7 +2448,6 @@ func TestMarkUnreadWithThreads(t *testing.T) { } func TestIsCRTEnabledForUser(t *testing.T) { - t.Skip("MM-44148") type preference struct { val string err error @@ -2511,7 +2510,6 @@ func TestIsCRTEnabledForUser(t *testing.T) { for _, tc := range testCases { tc := tc t.Run(tc.desc, func(t *testing.T) { - t.Parallel() th := SetupWithStoreMock(t) defer th.TearDown()