fix test times

mine
derailed 2019-03-26 12:59:18 -06:00
parent b88e0c9773
commit 0a1bc45f95
2 changed files with 4 additions and 4 deletions

View File

@ -30,8 +30,8 @@ archive:
darwin: Darwin
linux: Linux
windows: Windows
arm: 32-bit
arm64: 64-bit
arm: arm32
arm64: arm64
386: i386
amd64: x86_64
checksum:

View File

@ -80,7 +80,7 @@ func TestJobToCompletion(t *testing.T) {
}
func TestJobToDuration(t *testing.T) {
t0 := testTime()
t0 := testTime().UTC()
t1, t2 := metav1.Time{t0}, metav1.Time{t0.Add(10 * time.Second)}
uu := []struct {
@ -98,7 +98,7 @@ func TestJobToDuration(t *testing.T) {
batchv1.JobStatus{
StartTime: &t1,
},
"101d",
"102d",
},
{
batchv1.JobStatus{