summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-05-14 16:00:53 -0700
committerShentubot <shentubot@google.com>2019-05-14 16:01:50 -0700
commitfff21b99e45136510a0148eada57ff28966dc27e (patch)
tree69f2b88108f61771573963c5dff35bf2d57c3dc5 /runsc
parentec248daf29974c3c3f99f4c110059e2c4e50fbe0 (diff)
kokoro: run tests with a default docker container runtime
We want to know that our environment set up properly and docker tests pass with a native runtime. PiperOrigin-RevId: 248229294 Change-Id: I06c221e5eeed6e01bdd1aa935333c57e8eadc498
Diffstat (limited to 'runsc')
-rw-r--r--runsc/test/testutil/docker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/test/testutil/docker.go b/runsc/test/testutil/docker.go
index e103e930c..81f5a9ef0 100644
--- a/runsc/test/testutil/docker.go
+++ b/runsc/test/testutil/docker.go
@@ -31,8 +31,8 @@ import (
)
func getRuntime() string {
- r := os.Getenv("RUNSC_RUNTIME")
- if r == "" {
+ r, ok := os.LookupEnv("RUNSC_RUNTIME")
+ if !ok {
return "runsc-test"
}
return r