File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ import (
22
22
"strings"
23
23
"testing"
24
24
25
+ "k8s.io/minikube/pkg/minikube/constants"
26
+ "k8s.io/minikube/pkg/minikube/machine"
25
27
"k8s.io/minikube/test/integration/util"
26
28
)
27
29
@@ -31,7 +33,13 @@ func TestFunctional(t *testing.T) {
31
33
Args : * args ,
32
34
T : t }
33
35
minikubeRunner .EnsureRunning ()
34
-
36
+ integrationTestImages := []string {"busybox:glibc" }
37
+ if err := machine .CacheImages (integrationTestImages , constants .ImageCacheDir ); err != nil {
38
+ t .Fatalf ("caching images: %s" , err )
39
+ }
40
+ if err := machine .LoadFromCacheBlocking (& minikubeRunner , constants .ImageCacheDir ); err != nil {
41
+ t .Fatalf ("loading images: %s" , err )
42
+ }
35
43
// This one is not parallel, and ensures the cluster comes up
36
44
// before we run any other tests.
37
45
t .Run ("Status" , testClusterStatus )
You can’t perform that action at this time.
0 commit comments