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:12:23 -0800 |
commit | 443a386f775dba732fa788625dc99438d16d3931 (patch) | |
tree | 7b879e2e31fc46d9feb2262a775fd09003b4bffc /api/post_test.go | |
parent | cf11d387eef7883d8c2866d8bb44887120499963 (diff) | |
download | chat-443a386f775dba732fa788625dc99438d16d3931.tar.gz chat-443a386f775dba732fa788625dc99438d16d3931.tar.bz2 chat-443a386f775dba732fa788625dc99438d16d3931.zip |
minor tweaks to make sure mysql still runs
Diffstat (limited to 'api/post_test.go')
-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) |