diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-11-07 13:14:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 13:14:12 -0500 |
commit | a6526aa03d416380e419a727697d910fb05c3163 (patch) | |
tree | e08da145bd81742208b7ea1ebd2f4014981b2cd7 /api | |
parent | ebe7c6b76b0c293f378a66d918d2f5491c89c94c (diff) | |
download | chat-a6526aa03d416380e419a727697d910fb05c3163.tar.gz chat-a6526aa03d416380e419a727697d910fb05c3163.tar.bz2 chat-a6526aa03d416380e419a727697d910fb05c3163.zip |
Added small delay to TestUpdateChannelHeader (#4478)
Diffstat (limited to 'api')
-rw-r--r-- | api/channel_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/channel_test.go b/api/channel_test.go index d05cd495b..4b0ce9509 100644 --- a/api/channel_test.go +++ b/api/channel_test.go @@ -378,6 +378,8 @@ func TestUpdateChannelHeader(t *testing.T) { upChannel1 = result.Data.(*model.Channel) } + time.Sleep(100 * time.Millisecond) + r1 := Client.Must(Client.GetPosts(channel1.Id, 0, 1, "")).Data.(*model.PostList) if len(r1.Order) != 1 { t.Fatal("Header update system message was not found") |