Allow pod.Spec.ActiveDeadlineSeconds to be updateable

This commit is contained in:
Paul Morie
2016-01-26 15:52:14 -05:00
parent 87fbfdc953
commit 0b82d0b491
6 changed files with 466 additions and 11 deletions

View File

@@ -200,6 +200,11 @@ func (f *Framework) afterEach() {
f.Client = nil
}
// WaitForPodTerminated waits for the pod to be terminated with the given reason.
func (f *Framework) WaitForPodTerminated(podName, reason string) error {
return waitForPodTerminatedInNamespace(f.Client, podName, reason, f.Namespace.Name)
}
// WaitForPodRunning waits for the pod to run in the namespace.
func (f *Framework) WaitForPodRunning(podName string) error {
return waitForPodRunningInNamespace(f.Client, podName, f.Namespace.Name)