Class JobUtils
- java.lang.Object
-
- io.strimzi.systemtest.utils.kubeUtils.controllers.JobUtils
-
public class JobUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
deleteJobWithWait(String namespace, String name)
Delete Job and wait for it's deletionstatic void
waitForJobDeletion(String name)
Wait until the given Job has been deleted.static void
waitForJobFailure(String jobName, String namespace, long timeout)
Wait for specific Job failure
-
-
-
Method Detail
-
waitForJobDeletion
public static void waitForJobDeletion(String name)
Wait until the given Job has been deleted.- Parameters:
name
- The name of the Job
-
deleteJobWithWait
public static void deleteJobWithWait(String namespace, String name)
Delete Job and wait for it's deletion- Parameters:
name
- name of the job
-
-