Add timestamp to flaky restart monitor test

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan 2021-07-13 09:51:48 -07:00
parent d527926cd5
commit 2e8a572dfd
No known key found for this signature in database
GPG Key ID: F58C5D0A4405ACDB

View File

@ -99,8 +99,8 @@ version = 2
} }
time.Sleep(epsilon) time.Sleep(epsilon)
} }
t.Fatalf("the task was not restarted in %s + %s", t.Fatalf("%v: the task was not restarted in %s + %s",
interval.String(), epsilon.String()) time.Now(), interval.String(), epsilon.String())
} }
// withRestartStatus is a copy of "github.com/containerd/containerd/runtime/restart".WithStatus. // withRestartStatus is a copy of "github.com/containerd/containerd/runtime/restart".WithStatus.