aboutsummaryrefslogtreecommitdiff
path: root/vendor/google.golang.org/appengine/aetest/instance.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net> 2018-07-06 21:18:14 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net> 2018-07-06 21:18:14 -0700
commit459bb4531f92f8663afb6f36aa9be5b789bd591f (patch)
treef14e6c06b8e5c63612d1ff36f8cab40ae8a99d20 /vendor/google.golang.org/appengine/aetest/instance.go
parent34a3fe426b33a63f2d8e02d4a70c88f137fa5410 (diff)
downloadv2-459bb4531f92f8663afb6f36aa9be5b789bd591f.tar.gz
v2-459bb4531f92f8663afb6f36aa9be5b789bd591f.tar.zst
v2-459bb4531f92f8663afb6f36aa9be5b789bd591f.zip
Update vendor dependencies
Diffstat (limited to 'vendor/google.golang.org/appengine/aetest/instance.go')
-rw-r--r--vendor/google.golang.org/appengine/aetest/instance.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/google.golang.org/appengine/aetest/instance.go b/vendor/google.golang.org/appengine/aetest/instance.go
index a8f99d82..38c1d4ef 100644
--- a/vendor/google.golang.org/appengine/aetest/instance.go
+++ b/vendor/google.golang.org/appengine/aetest/instance.go
@@ -3,6 +3,7 @@ package aetest
import (
"io"
"net/http"
+ "time"
"golang.org/x/net/context"
"google.golang.org/appengine"
@@ -24,6 +25,12 @@ type Options struct {
// StronglyConsistentDatastore is whether the local datastore should be
// strongly consistent. This will diverge from production behaviour.
StronglyConsistentDatastore bool
+ // SuppressDevAppServerLog is whether the dev_appserver running in tests
+ // should output logs.
+ SuppressDevAppServerLog bool
+ // StartupTimeout is a duration to wait for instance startup.
+ // By default, 15 seconds.
+ StartupTimeout time.Duration
}
// NewContext starts an instance of the development API server, and returns