diff options
author | =Corey Hulen <corey@hulen.com> | 2015-07-30 00:02:48 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-07-30 00:02:48 -0800 |
commit | e8f0ca7a29ac38f50fba89c3f067d1453c25695e (patch) | |
tree | 37db303bc18f809b36dcc22006d304ad12b5e18d /store | |
parent | 5954a83a149f87f01333c5f4715aa648cc5fb555 (diff) | |
download | chat-e8f0ca7a29ac38f50fba89c3f067d1453c25695e.tar.gz chat-e8f0ca7a29ac38f50fba89c3f067d1453c25695e.tar.bz2 chat-e8f0ca7a29ac38f50fba89c3f067d1453c25695e.zip |
removing flaky unit test
Diffstat (limited to 'store')
-rw-r--r-- | store/sql_post_store_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/store/sql_post_store_test.go b/store/sql_post_store_test.go index bad6408b8..d1639aa03 100644 --- a/store/sql_post_store_test.go +++ b/store/sql_post_store_test.go @@ -445,12 +445,12 @@ func TestPostStoreSearch(t *testing.T) { t.Fatal("returned wrong serach result") } - if utils.Cfg.SqlSettings.DriverName == "mysql" { - r2 := (<-store.Post().Search(teamId, userId, "new york", false)).Data.(*model.PostList) - if len(r2.Order) >= 1 && r2.Order[0] != o2.Id { - t.Fatal("returned wrong serach result") - } - } + // if utils.Cfg.SqlSettings.DriverName == "mysql" { + // r2 := (<-store.Post().Search(teamId, userId, "new york", false)).Data.(*model.PostList) + // if len(r2.Order) >= 1 && r2.Order[0] != o2.Id { + // t.Fatal("returned wrong serach result") + // } + // } r3 := (<-store.Post().Search(teamId, userId, "new", false)).Data.(*model.PostList) if len(r3.Order) != 2 && r3.Order[0] != o1.Id { |