From 9bff309dd0e2d15ac34eb0c0d626803daf959236 Mon Sep 17 00:00:00 2001 From: Ibrahim Serdar Acikgoz Date: Sat, 31 Oct 2020 12:13:28 +0300 Subject: [PATCH] storetest/team_store: fix flaky test for searching a short term (#16172) Co-authored-by: Mattermod --- store/storetest/team_store.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/store/storetest/team_store.go b/store/storetest/team_store.go index 025744744f..2a1d5b9e48 100644 --- a/store/storetest/team_store.go +++ b/store/storetest/team_store.go @@ -303,7 +303,7 @@ func testTeamStoreSearchAll(t *testing.T, ss store.Store) { }, { "Search for open team without results", - &model.TeamSearch{Term: "junk"}, + &model.TeamSearch{Term: "notexists"}, 0, []string{}, }, @@ -464,7 +464,7 @@ func testTeamStoreSearchOpen(t *testing.T, ss store.Store) { }, { "Search for open team without results", - "junk", + "notexists", 0, "", }, @@ -570,7 +570,7 @@ func testTeamStoreSearchPrivate(t *testing.T, ss store.Store) { }, { "Search for private team without results", - "junk", + "notexists", 0, "", },