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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6e574aefd0
Коммит
a99d5a34b7
@@ -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()
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user