content: return the error with its timestamp
The current timestamp is probably included in production logs, but won't be in testing environments such as GitHub Actions. Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
@@ -28,5 +28,5 @@ func TestTryLock(t *testing.T) {
|
||||
defer unlock("testref")
|
||||
|
||||
err = tryLock("testref")
|
||||
assert.ErrorContains(t, err, "ref testref locked since ")
|
||||
assert.ErrorContains(t, err, "ref testref locked for ")
|
||||
}
|
||||
|
Reference in New Issue
Block a user