Switch all e2es to the ginkgo wrapper
This commit is contained in:
@@ -98,7 +98,7 @@ var _ = framework.KubeDescribe("Pods Extended", func() {
|
||||
framework.Failf("Failed to observe pod creation: %v", event)
|
||||
}
|
||||
case <-time.After(framework.PodStartTimeout):
|
||||
Fail("Timeout while waiting for pod creation")
|
||||
framework.Failf("Timeout while waiting for pod creation")
|
||||
}
|
||||
|
||||
// We need to wait for the pod to be running, otherwise the deletion
|
||||
@@ -178,7 +178,7 @@ var _ = framework.KubeDescribe("Pods Extended", func() {
|
||||
}
|
||||
}
|
||||
if !deleted {
|
||||
Fail("Failed to observe pod deletion")
|
||||
framework.Failf("Failed to observe pod deletion")
|
||||
}
|
||||
|
||||
Expect(lastPod.DeletionTimestamp).ToNot(BeNil())
|
||||
|
||||
Reference in New Issue
Block a user