mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
increase test timeout (#522)
This commit is contained in:
committed by
Travis Reeder
parent
3f8e0cecfc
commit
bba5668660
@@ -36,7 +36,7 @@ func TestRunnerHello(t *testing.T) {
|
|||||||
cfg := &task.Config{
|
cfg := &task.Config{
|
||||||
ID: fmt.Sprintf("hello-%d-%d", i, time.Now().Unix()),
|
ID: fmt.Sprintf("hello-%d-%d", i, time.Now().Unix()),
|
||||||
Image: test.route.Image,
|
Image: test.route.Image,
|
||||||
Timeout: 5 * time.Second,
|
Timeout: 10 * time.Second,
|
||||||
Stdin: strings.NewReader(test.payload),
|
Stdin: strings.NewReader(test.payload),
|
||||||
Stdout: &stdout,
|
Stdout: &stdout,
|
||||||
Stderr: &stderr,
|
Stderr: &stderr,
|
||||||
@@ -89,7 +89,7 @@ func TestRunnerError(t *testing.T) {
|
|||||||
cfg := &task.Config{
|
cfg := &task.Config{
|
||||||
ID: fmt.Sprintf("err-%d-%d", i, time.Now().Unix()),
|
ID: fmt.Sprintf("err-%d-%d", i, time.Now().Unix()),
|
||||||
Image: test.route.Image,
|
Image: test.route.Image,
|
||||||
Timeout: 5 * time.Second,
|
Timeout: 10 * time.Second,
|
||||||
Stdin: strings.NewReader(test.payload),
|
Stdin: strings.NewReader(test.payload),
|
||||||
Stdout: &stdout,
|
Stdout: &stdout,
|
||||||
Stderr: &stderr,
|
Stderr: &stderr,
|
||||||
|
|||||||
Reference in New Issue
Block a user