fix(e2e): set longer timeout for docker

pull/606/head
Adam Reese 10 years ago
parent 97b1a7b815
commit 3921637878

@ -10,6 +10,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"testing" "testing"
"time"
) )
const ( const (
@ -18,15 +19,17 @@ const (
) )
type HelmContext struct { type HelmContext struct {
t *testing.T t *testing.T
Path string Path string
Host string Host string
Timeout time.Duration
} }
func NewHelmContext(t *testing.T) *HelmContext { func NewHelmContext(t *testing.T) *HelmContext {
return &HelmContext{ return &HelmContext{
t: t, t: t,
Path: RepoRoot() + "/bin/helm", Path: RepoRoot() + "/bin/helm",
Timeout: time.Second * 20,
} }
} }

Loading…
Cancel
Save