func waitForPodNotReady(c clientset.Interface, set *appsv1.StatefulSet, podName string) (*appsv1.StatefulSet, *v1.PodList) {
	var pods *v1.PodList
	e2estatefulset.WaitForState(c, set, func(set2 *appsv1.StatefulSet, pods2 *v1.PodList) (bool, error) {
		set = set2
		pods = pods2
		for i := range pods.Items {
			if pods.Items[i].Name == podName {
				return !podutil.IsPodReady(&pods.Items[i]), nil
			}
		}
		return false, nil
	})
	return set, pods
}
// waitForPodNotReady waits for the Pod named podName in set to exist and to not have a Ready condition.
waitForPodNotReady waits for the Pod named podName in set to exist and to not have a Ready condition.
// waitForPodNotReady waits for the Pod named podName in set to exist and to not have a Ready condition .
func waitForPodNotReady(c clientset.Interface, set *appsv1.StatefulSet, podName string) (*appsv1.StatefulSet, *v1.PodList) {
	var pods *v1.PodList
	e2estatefulset.WaitForState(c, set, func(set2 *appsv1.StatefulSet, pods2 *v1.PodList) (bool, error) {
		set = set2
		pods = pods2
		for i := range pods.Items {
			if pods.Items[i].Name == podName {
				return !podutil.IsPodReady(&pods.Items[i]), nil
			}
		}
		return false, nil
	})
	return set, pods
}
func waitForPodNotReady ( c clientset . Interface , set * appsv1 . StatefulSet , podName string ) ( * appsv1 . StatefulSet , * v1 . PodList ) { var pods * v1 . PodList e2estatefulset . WaitForState ( c , set , func ( set2 * appsv1 . StatefulSet , pods2 * v1 . PodList ) ( bool , error ) { set = set2 pods = pods2 for i := range pods . Items { if pods . Items [ i ] . Name == podName { return ! podutil . IsPodReady ( & pods . Items [ i ] ) , nil } } return false , nil } ) return set , pods }
waitForPodNotReady waits for the Pod named podName in set to exist and to not have a Ready condition.
waitForPodNotReady waits for the Pod named podName in set to exist and to not have a Ready condition .