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

View File

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