Merge pull request #35284 from tophj-ibm/download-frozen-images-with-integration-cli-tests

[integration-cli] ensureFrozenImages here too
This commit is contained in:
Yong Tang 2017-10-24 16:43:55 -07:00 committed by GitHub
commit d85f5e7320

View file

@ -60,6 +60,12 @@ func init() {
func TestMain(m *testing.M) { func TestMain(m *testing.M) {
dockerBinary = testEnv.DockerBinary() dockerBinary = testEnv.DockerBinary()
err := ienv.EnsureFrozenImagesLinux(&testEnv.Execution)
if err != nil {
fmt.Println(err)
os.Exit(1)
}
testEnv.Print() testEnv.Print()
os.Exit(m.Run()) os.Exit(m.Run())
} }