From 98d72e51fe2177daeceaf652c20e9594a7c0f261 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Thu, 25 Jun 2020 22:26:37 +0530 Subject: [PATCH] MM-26452: Fix flaky test ChannelStore//SearchInTeam/the_in_name (#14899) The same problem as #14840 plagues this test too. --- store/storetest/channel_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/store/storetest/channel_store.go b/store/storetest/channel_store.go index c0f0087b57..1fec095077 100644 --- a/store/storetest/channel_store.go +++ b/store/storetest/channel_store.go @@ -4889,7 +4889,7 @@ func testChannelStoreSearchInTeam(t *testing.T, ss store.Store) { o10 := model.Channel{ TeamId: teamId, DisplayName: "The", - Name: "the", + Name: "thename", Type: model.CHANNEL_OPEN, } _, nErr = ss.Channel().Save(&o10, -1) @@ -4942,7 +4942,7 @@ func testChannelStoreSearchInTeam(t *testing.T, ss store.Store) { {"prefix", teamId, "off-", false, &model.ChannelList{&o7, &o6}}, {"full match with dash", teamId, "off-topic", false, &model.ChannelList{&o6}}, {"town square", teamId, "town square", false, &model.ChannelList{&o9}}, - {"the in name", teamId, "the", false, &model.ChannelList{&o10}}, + {"the in name", teamId, "thename", false, &model.ChannelList{&o10}}, {"Mobile", teamId, "Mobile", false, &model.ChannelList{&o11}}, {"search purpose", teamId, "now searchable", false, &model.ChannelList{&o12}}, {"pipe ignored", teamId, "town square |", false, &model.ChannelList{&o9}},