mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Fix test name and log formatting
This commit is contained in:
parent
6a6ccbc45c
commit
a9cb510c7f
@ -26,7 +26,7 @@ import (
|
|||||||
|
|
||||||
var _ = SIGDescribe("get-apigroup-list", func() {
|
var _ = SIGDescribe("get-apigroup-list", func() {
|
||||||
f := framework.NewDefaultFramework("get-apigroup-list")
|
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
|
// TEST BEGINS HERE
|
||||||
ginkgo.By("[status] begin")
|
ginkgo.By("[status] begin")
|
||||||
@ -38,7 +38,7 @@ var _ = SIGDescribe("get-apigroup-list", func() {
|
|||||||
framework.ExpectNoError(err, "Failed to find /apis/")
|
framework.ExpectNoError(err, "Failed to find /apis/")
|
||||||
|
|
||||||
for _, group := range list.Groups {
|
for _, group := range list.Groups {
|
||||||
framework.Logf("Checking APIGroup:", group.Name)
|
framework.Logf("Checking APIGroup: %v", group.Name)
|
||||||
|
|
||||||
// hit APIGroup endpoint
|
// hit APIGroup endpoint
|
||||||
checkGroup := &metav1.APIGroup{}
|
checkGroup := &metav1.APIGroup{}
|
||||||
@ -48,7 +48,7 @@ var _ = SIGDescribe("get-apigroup-list", func() {
|
|||||||
framework.ExpectNoError(err, "Fail to access: %s", apiPath)
|
framework.ExpectNoError(err, "Fail to access: %s", apiPath)
|
||||||
|
|
||||||
// get PreferredVersion for endpoint
|
// get PreferredVersion for endpoint
|
||||||
framework.Logf("PreferredVersion:", checkGroup.PreferredVersion)
|
framework.Logf("PreferredVersion: %v", checkGroup.PreferredVersion)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user