From 00bb4799899cbbcdf48b147639dee3cee7ea199b Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Fri, 31 Mar 2017 06:54:30 -0700 Subject: PLT-6090 adding ability to read license file from disk (#5895) * PLT-6090 adding ability to read license file from disk * Fixing unit test that fails only sometimes * Fixing test that fails randomly --- store/sql_webhook_store_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'store/sql_webhook_store_test.go') diff --git a/store/sql_webhook_store_test.go b/store/sql_webhook_store_test.go index 6cfe36450..fbaf4bc82 100644 --- a/store/sql_webhook_store_test.go +++ b/store/sql_webhook_store_test.go @@ -5,6 +5,7 @@ package store import ( "testing" + "time" "net/http" @@ -31,6 +32,7 @@ func TestWebhookStoreUpdateIncoming(t *testing.T) { previousUpdatedAt := o1.UpdateAt o1.DisplayName = "TestHook" + time.Sleep(10 * time.Millisecond) if result := (<-store.Webhook().UpdateIncoming(o1)); result.Err != nil { t.Fatal("updation of incoming hook failed", result.Err) -- cgit v1.2.3-1-g7c22