From 26980cf701206f596b4fa18004ead814fdfb2866 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Wed, 6 Oct 2021 13:35:43 +0200 Subject: [PATCH] e2e_node: cleanup entrypoint --- test/e2e_node/e2e_node_suite_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/e2e_node/e2e_node_suite_test.go b/test/e2e_node/e2e_node_suite_test.go index 81da69d0b78..848d3af4b72 100644 --- a/test/e2e_node/e2e_node_suite_test.go +++ b/test/e2e_node/e2e_node_suite_test.go @@ -168,12 +168,13 @@ func TestE2eNode(t *testing.T) { } return } - // If run-services-mode is not specified, run test. + + // We're not running in a special mode so lets run tests. gomega.RegisterFailHandler(ginkgo.Fail) reporters := []ginkgo.Reporter{} reportDir := framework.TestContext.ReportDir if reportDir != "" { - // Create the directory if it doesn't already exists + // Create the directory if it doesn't already exist if err := os.MkdirAll(reportDir, 0755); err != nil { klog.Errorf("Failed creating report directory: %v", err) } else { @@ -294,8 +295,6 @@ func waitForNodeReady() { } // updateTestContext updates the test context with the node name. -// TODO(random-liu): Using dynamic kubelet configuration feature to -// update test context with node configuration. func updateTestContext() error { setExtraEnvs() updateImageAllowList()