diff --git a/test/e2e/node/pod_hostnamefqdn.go b/test/e2e/node/pod_hostnamefqdn.go index bb9d6140766..c5e90c5ccbd 100644 --- a/test/e2e/node/pod_hostnamefqdn.go +++ b/test/e2e/node/pod_hostnamefqdn.go @@ -63,7 +63,7 @@ func testPod() *v1.Pod { return pod } -var _ = SIGDescribe("Hostname of Pod [Feature:SetHostnameAsFQDN]", func() { +var _ = SIGDescribe("Hostname of Pod [Feature:SetHostnameAsFQDN][NodeAlphaFeature:SetHostnameAsFQDN]", func() { f := framework.NewDefaultFramework("hostfqdn") /* @@ -71,7 +71,7 @@ var _ = SIGDescribe("Hostname of Pod [Feature:SetHostnameAsFQDN]", func() { Testname: Create Pod without fully qualified domain name (FQDN) Description: A Pod that does not define the subdomain field in it spec, does not have FQDN. */ - ginkgo.It("a pod without subdomain field does not have FQDN [Feature:SetHostnameAsFQDN]", func() { + ginkgo.It("a pod without subdomain field does not have FQDN", func() { pod := testPod() pod.Spec.Containers[0].Command = []string{"sh", "-c", "echo $(hostname)';'$(hostname -f)';'"} output := []string{fmt.Sprintf("%s;%s;", pod.ObjectMeta.Name, pod.ObjectMeta.Name)} @@ -85,7 +85,7 @@ var _ = SIGDescribe("Hostname of Pod [Feature:SetHostnameAsFQDN]", func() { Description: A Pod that does not define the subdomain field in it spec, does not have FQDN. Hence, SetHostnameAsFQDN feature has no effect. */ - ginkgo.It("a pod without FQDN is not affected by SetHostnameAsFQDN field [Feature:SetHostnameAsFQDN]", func() { + ginkgo.It("a pod without FQDN is not affected by SetHostnameAsFQDN field", func() { pod := testPod() // Setting setHostnameAsFQDN field to true should have no effect. setHostnameAsFQDN := true @@ -102,7 +102,7 @@ var _ = SIGDescribe("Hostname of Pod [Feature:SetHostnameAsFQDN]", func() { Description: A Pod that defines the subdomain field in it spec has FQDN. hostname command returns shortname (pod name in this case), and hostname -f returns FQDN. */ - ginkgo.It("a pod with subdomain field has FQDN, hostname is shortname [Feature:SetHostnameAsFQDN]", func() { + ginkgo.It("a pod with subdomain field has FQDN, hostname is shortname", func() { pod := testPod() pod.Spec.Containers[0].Command = []string{"sh", "-c", "echo $(hostname)';'$(hostname -f)';'"} subdomain := "t" @@ -121,7 +121,7 @@ var _ = SIGDescribe("Hostname of Pod [Feature:SetHostnameAsFQDN]", func() { Description: A Pod that defines the subdomain field in it spec has FQDN. When setHostnameAsFQDN: true, the hostname is set to be the FQDN. In this case, both commands hostname and hostname -f return the FQDN of the Pod. */ - ginkgo.It("a pod with subdomain field has FQDN, when setHostnameAsFQDN is set to true, the FQDN is set as hostname [Feature:SetHostnameAsFQDN]", func() { + ginkgo.It("a pod with subdomain field has FQDN, when setHostnameAsFQDN is set to true, the FQDN is set as hostname", func() { pod := testPod() pod.Spec.Containers[0].Command = []string{"sh", "-c", "echo $(hostname)';'$(hostname -f)';'"} subdomain := "t"