Renamed image "white lists" to pre-pull image lists in test

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
This commit is contained in:
alejandrox1
2020-07-01 13:48:47 -04:00
parent c53ce48d48
commit 4338053d8f
4 changed files with 14 additions and 14 deletions

View File

@@ -179,7 +179,7 @@ var _ = ginkgo.SynchronizedBeforeSuite(func() []byte {
// This helps with debugging test flakes since it is hard to tell when a test failure is due to image pulling.
if framework.TestContext.PrepullImages {
klog.Infof("Pre-pulling images so that they are cached for the tests.")
updateImageWhiteList()
updateImageAllowList()
err := PrePullAllImages()
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
}
@@ -279,7 +279,7 @@ func waitForNodeReady() {
// update test context with node configuration.
func updateTestContext() error {
setExtraEnvs()
updateImageWhiteList()
updateImageAllowList()
client, err := getAPIServerClient()
if err != nil {