From af63080c0dba1bf2c93e4a7996fd7ec07546f289 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Sun, 12 Jul 2015 19:12:23 -0800 Subject: minor tweaks to make sure mysql still runs --- api/post_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'api/post_test.go') 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) -- cgit v1.2.3-1-g7c22