Unverified Commit 42259779 authored by Eli Yukelzon's avatar Eli Yukelzon Committed by GitHub
Browse files

MM-19154 - Fix flaky test TestGroupStore/MySQL/GetGroups/Get_g… (#12705)

parent 42b011b8
......@@ -2018,7 +2018,7 @@ func testGetGroups(t *testing.T, ss store.Store) {
require.Nil(t, err)
group2, err := ss.Group().Create(&model.Group{
Name: model.NewId(),
Name: model.NewId() + "-group-2",
DisplayName: "group-2",
RemoteId: model.NewId(),
Source: model.GroupSourceLdap,
......@@ -2062,7 +2062,7 @@ func testGetGroups(t *testing.T, ss store.Store) {
// Create Group3
group3, err := ss.Group().Create(&model.Group{
Name: model.NewId(),
Name: model.NewId() + "-group-3",
DisplayName: "group-3",
RemoteId: model.NewId(),
Source: model.GroupSourceLdap,
......@@ -2122,7 +2122,7 @@ func testGetGroups(t *testing.T, ss store.Store) {
user2.DeleteAt = 1
ss.User().Update(user2, true)
group2NameSubstring := string([]rune(group2.Name)[2:5])
group2NameSubstring := "group-2"
testCases := []struct {
Name string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment