From a84fc7b938afdbd2d9a70a58d42c2c1a3a168564 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Mon, 6 Jul 2015 14:02:42 -0800 Subject: fixing build --- store/sql_user_store_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'store/sql_user_store_test.go') diff --git a/store/sql_user_store_test.go b/store/sql_user_store_test.go index f8dae0021..12737caa8 100644 --- a/store/sql_user_store_test.go +++ b/store/sql_user_store_test.go @@ -7,6 +7,7 @@ import ( "github.com/mattermost/platform/model" "strings" "testing" + "time" ) func TestUserStoreSave(t *testing.T) { @@ -66,6 +67,8 @@ func TestUserStoreUpdate(t *testing.T) { u1.Email = model.NewId() Must(store.User().Save(&u1)) + time.Sleep(100 * time.Millisecond) + if err := (<-store.User().Update(&u1, false)).Err; err != nil { t.Fatal(err) } -- cgit v1.2.3-1-g7c22