diff options
Diffstat (limited to 'store/sql_webhook_store_test.go')
-rw-r--r-- | store/sql_webhook_store_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) |