@Test
void checkWithNotReady() {

    var startTime = ZonedDateTime.now();
    var pod = pod("Pending");
    pod.metadata.creationTimestamp = startTime;
    assertThat(job.check(pod, startTime.plusMinutes(1))).isNull();
    assertThat(job.check(pod, startTime.plusMinutes(5))).isEqualTo("pod is not in ready state, uptime=PT5M");
    pod = pod("Running");
    pod.status.containerStatuses.get(0).ready = Boolean.FALSE;
    pod.status.startTime = startTime;
    assertThat(job.check(pod, startTime.plusMinutes(1))).isNull();
    assertThat(job.check(pod, startTime.plusMinutes(5))).isEqualTo("pod is not in ready state, uptime=PT5M");
}