From a9cb510c7f1e712ba4e3718b698148dad84e809d Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Mon, 29 Jun 2020 21:29:26 +0000 Subject: [PATCH] Fix test name and log formatting --- test/e2e/apimachinery/get_apigroup_list.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/apimachinery/get_apigroup_list.go b/test/e2e/apimachinery/get_apigroup_list.go index fe55e67afcd..08af93ddae4 100644 --- a/test/e2e/apimachinery/get_apigroup_list.go +++ b/test/e2e/apimachinery/get_apigroup_list.go @@ -26,7 +26,7 @@ import ( var _ = SIGDescribe("get-apigroup-list", func() { f := framework.NewDefaultFramework("get-apigroup-list") - ginkgo.It("should create pods, set the deletionTimestamp and deletionGracePeriodSeconds of the pod", func() { + ginkgo.It("should locate PreferredVersion for each APIGroup", func() { // TEST BEGINS HERE ginkgo.By("[status] begin") @@ -38,7 +38,7 @@ var _ = SIGDescribe("get-apigroup-list", func() { framework.ExpectNoError(err, "Failed to find /apis/") for _, group := range list.Groups { - framework.Logf("Checking APIGroup:", group.Name) + framework.Logf("Checking APIGroup: %v", group.Name) // hit APIGroup endpoint checkGroup := &metav1.APIGroup{} @@ -48,7 +48,7 @@ var _ = SIGDescribe("get-apigroup-list", func() { framework.ExpectNoError(err, "Fail to access: %s", apiPath) // get PreferredVersion for endpoint - framework.Logf("PreferredVersion:", checkGroup.PreferredVersion) + framework.Logf("PreferredVersion: %v", checkGroup.PreferredVersion) } }) })