summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-03-31 06:54:30 -0700
committerChristopher Speller <crspeller@gmail.com>2017-03-31 09:54:30 -0400
commit00bb4799899cbbcdf48b147639dee3cee7ea199b (patch)
tree74881150207ae980b1703644da265fed6886d65d /store
parentfa40bfb9e6f3bcdfe631301be2ee3ce755cbef0e (diff)
downloadchat-00bb4799899cbbcdf48b147639dee3cee7ea199b.tar.gz
chat-00bb4799899cbbcdf48b147639dee3cee7ea199b.tar.bz2
chat-00bb4799899cbbcdf48b147639dee3cee7ea199b.zip
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
Diffstat (limited to 'store')
-rw-r--r--store/sql_webhook_store_test.go2
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)