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
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
fa40bfb9e6
Коммит
00bb479989
@@ -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)
|
||||
|
||||
Ссылка в новой задаче
Block a user