mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Merge branch 'one-db' into 'master'
merge datastores into sqlx package See merge request !101
This commit is contained in:
@@ -65,7 +65,7 @@ func TestCalls(t *testing.T) {
|
||||
t.Run("get-real-call", func(t *testing.T) {
|
||||
|
||||
callID := CallAsync(t, u, &bytes.Buffer{})
|
||||
time.Sleep(time.Second * 2)
|
||||
time.Sleep(time.Second * 5)
|
||||
cfg := &call.GetCallsCallParams{
|
||||
Call: callID,
|
||||
Context: s.Context,
|
||||
|
||||
@@ -204,7 +204,7 @@ func TestRouteExecutions(t *testing.T) {
|
||||
u.Path = path.Join(u.Path, "r", s.AppName, routePath)
|
||||
|
||||
callID := CallAsync(t, u, &bytes.Buffer{})
|
||||
time.Sleep(5 * time.Second)
|
||||
time.Sleep(7 * time.Second)
|
||||
|
||||
cfg := &operations.GetCallsCallLogParams{
|
||||
Call: callID,
|
||||
|
||||
@@ -52,7 +52,7 @@ func CheckAppResponseError(t *testing.T, err error) {
|
||||
|
||||
case *apps.PostAppsDefault:
|
||||
msg := err.(*apps.PostAppsDefault).Payload.Error.Message
|
||||
code := err.(*apps.DeleteAppsAppDefault).Code()
|
||||
code := err.(*apps.PostAppsDefault).Code()
|
||||
t.Fatalf("Unexpected error occurred: %v. Status code: %v", msg, code)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user