File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,12 @@ var (
57
57
// CurrentSuite represents current test suite.
58
58
var CurrentSuite Suite
59
59
60
- // CommonImageWhiteList is the list of images used in common test. These images should be prepulled
61
- // before a tests starts, so that the tests won't fail due image pulling flakes. Currently, this is
62
- // only used by node e2e test.
60
+ // PrePulledImages are a list of images used in e2e/common tests. These images should be prepulled
61
+ // before tests starts, so that the tests won't fail due image pulling flakes.
62
+ // Currently, this is only used by node e2e test.
63
+ // See also updateImageWhiteList() in ../../e2e_node/image_list.go
63
64
// TODO(random-liu): Change the image puller pod to use similar mechanism.
64
- var CommonImageWhiteList = sets .NewString (
65
+ var PrePulledImages = sets .NewString (
65
66
imageutils .GetE2EImage (imageutils .Agnhost ),
66
67
imageutils .GetE2EImage (imageutils .BusyBox ),
67
68
imageutils .GetE2EImage (imageutils .IpcUtils ),
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ var NodePrePullImageList = sets.NewString(
67
67
// So this function needs to be called after the extra envs are applied.
68
68
func updateImageWhiteList () {
69
69
// Union NodePrePullImageList and CommonImageWhiteList into the framework image pre-pull list.
70
- framework .ImageWhiteList = NodePrePullImageList .Union (commontest .CommonImageWhiteList )
70
+ framework .ImageWhiteList = NodePrePullImageList .Union (commontest .PrePulledImages )
71
71
// Images from extra envs
72
72
framework .ImageWhiteList .Insert (getNodeProblemDetectorImage ())
73
73
framework .ImageWhiteList .Insert (getSRIOVDevicePluginImage ())
You can’t perform that action at this time.
0 commit comments