diff options
author | =Corey Hulen <corey@hulen.com> | 2015-07-12 19:12:23 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-07-12 19:28:58 -0800 |
commit | af63080c0dba1bf2c93e4a7996fd7ec07546f289 (patch) | |
tree | ed6bb32e5e5e194a7e3202847efdbd14d38abc7e /api | |
parent | 34d56294a240a38722d2d752c63ce087de625080 (diff) | |
download | chat-af63080c0dba1bf2c93e4a7996fd7ec07546f289.tar.gz chat-af63080c0dba1bf2c93e4a7996fd7ec07546f289.tar.bz2 chat-af63080c0dba1bf2c93e4a7996fd7ec07546f289.zip |
minor tweaks to make sure mysql still runs
Diffstat (limited to 'api')
-rw-r--r-- | api/post_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/post_test.go b/api/post_test.go index 970307759..3af1874c2 100644 --- a/api/post_test.go +++ b/api/post_test.go @@ -516,6 +516,7 @@ func TestDeletePosts(t *testing.T) { post3a1 := &model.Post{ChannelId: channel1.Id, Message: "a" + model.NewId() + "a", RootId: post3.Id} post3a1 = Client.Must(Client.CreatePost(post3a1)).Data.(*model.Post) + time.Sleep(10 * time.Millisecond) Client.Must(Client.DeletePost(channel1.Id, post3.Id)) r2 := Client.Must(Client.GetPosts(channel1.Id, 0, 10, "")).Data.(*model.PostList) |