fix broken test

mine
derailed 2019-03-27 22:47:28 -06:00
parent bb92b19e55
commit b72f4101ba
1 changed files with 2 additions and 2 deletions

View File

@ -96,9 +96,9 @@ func TestJobToDuration(t *testing.T) {
}, },
{ {
batchv1.JobStatus{ batchv1.JobStatus{
StartTime: &t1, StartTime: &metav1.Time{time.Now().Add(-10 * time.Second)},
}, },
"102d", "10s",
}, },
{ {
batchv1.JobStatus{ batchv1.JobStatus{