MM-46450: Enable skipped test (#21526)
After looking at this for some time, I don't see any way for this test to fail other than model.NewId returning the same value for BasicUser and BasicUser2. I think edge cases like this can exist from time to time. Nothing much we can do about it. https://mattermost.atlassian.net/browse/MM-46450 ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6d162bc1ce
Коммит
0b7dd5b965
@@ -1027,8 +1027,9 @@ func TestGetUserByEmail(t *testing.T) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This test can flake if two calls to model.NewId can return the same value.
|
||||||
|
// Not much can be done about it.
|
||||||
func TestSearchUsers(t *testing.T) {
|
func TestSearchUsers(t *testing.T) {
|
||||||
t.Skip("MM-46450")
|
|
||||||
th := Setup(t).InitBasic()
|
th := Setup(t).InitBasic()
|
||||||
defer th.TearDown()
|
defer th.TearDown()
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user