@@ -164,7 +164,7 @@ var _ = framework.KubeDescribe("Pods", func() {
Description: A Pod is created with a unique label. Pod MUST be accessible when queried using the label selector upon creation. Add a watch, check if the Pod is running. Pod then deleted, The pod deletion timestamp is observed. The watch MUST return the pod deleted event. Query with the original selector for the Pod MUST return empty list.
*/
framework.ConformanceIt("should be submitted and removed [NodeConformance]",func(){
By("creating the pod")
ginkgo.By("creating the pod")
name:="pod-submit-remove-"+string(uuid.NewUUID())
value:=strconv.Itoa(time.Now().Nanosecond())
pod:=&v1.Pod{
...
...
@@ -185,12 +185,12 @@ var _ = framework.KubeDescribe("Pods", func() {
@@ -316,7 +316,7 @@ var _ = framework.KubeDescribe("Pods", func() {
Description: Create a Pod with a unique label. Query for the Pod with the label as selector MUST be successful. Update the pod to change the value of the Label. Query for the Pod with the new value for the label MUST be successful.
*/
framework.ConformanceIt("should be updated [NodeConformance]",func(){
By("creating the pod")
ginkgo.By("creating the pod")
name:="pod-update-"+string(uuid.NewUUID())
value:=strconv.Itoa(time.Now().Nanosecond())
pod:=&v1.Pod{
...
...
@@ -337,17 +337,17 @@ var _ = framework.KubeDescribe("Pods", func() {
@@ -370,7 +370,7 @@ var _ = framework.KubeDescribe("Pods", func() {
Description: Create a Pod with a unique label. Query for the Pod with the label as selector MUST be successful. The Pod is updated with ActiveDeadlineSeconds set on the Pod spec. Pod MUST terminate of the specified time elapses.
*/
framework.ConformanceIt("should allow activeDeadlineSeconds to be updated [NodeConformance]",func(){
Expect(podClient.PodIsReady(podName)).To(BeFalse(),"Expect pod's Ready condition to be false with only one condition in readinessGates equal to True")
gomega.Expect(podClient.PodIsReady(podName)).To(gomega.BeFalse(),"Expect pod's Ready condition to be false with only one condition in readinessGates equal to True")
By(fmt.Sprintf("patching pod status with condition %q to true",readinessGate2))
ginkgo.By(fmt.Sprintf("patching pod status with condition %q to true",readinessGate2))