فهرست منبع

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

[integration-cli] ensureFrozenImages here too
Yong Tang 7 سال پیش
والد
کامیت
d85f5e7320
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      integration-cli/check_test.go

+ 6 - 0
integration-cli/check_test.go

@@ -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())
 }
 }