From c95b17e598409000deb265945c5e80256de7db9f Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Tue, 24 Oct 2017 14:24:25 -0400 Subject: [PATCH] [integration-cli] ensureFrozenImages here too Checks + pulls down the frozen images in the integration-cli tests too. Fixes an issue where they wouldn't be pulled if running against just integration-cli tests, e.g. through TESTFLAGS Signed-off-by: Christopher Jones --- integration-cli/check_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/integration-cli/check_test.go b/integration-cli/check_test.go index a0786598b8..49504c6306 100644 --- a/integration-cli/check_test.go +++ b/integration-cli/check_test.go @@ -60,6 +60,12 @@ func init() { func TestMain(m *testing.M) { dockerBinary = testEnv.DockerBinary() + err := ienv.EnsureFrozenImagesLinux(&testEnv.Execution) + if err != nil { + fmt.Println(err) + os.Exit(1) + } + testEnv.Print() os.Exit(m.Run()) }