From fff21b99e45136510a0148eada57ff28966dc27e Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 14 May 2019 16:00:53 -0700 Subject: 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 --- runsc/test/testutil/docker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runsc/test') 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 -- cgit v1.2.3