[ARVADOS] updated: 1.3.0-2815-gba2e24710
Git user
git at public.arvados.org
Mon Aug 3 15:15:13 UTC 2020
Summary of changes:
services/keepstore/s3aws_volume_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via ba2e24710fb7c6d8236f81ee79ca30ca7dcbcf9c (commit)
from 95babd9e21eb871eed9535fad3d2af8ecdeb471d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit ba2e24710fb7c6d8236f81ee79ca30ca7dcbcf9c
Author: Ward Vandewege <ward at curii.com>
Date: Mon Aug 3 11:14:29 2020 -0400
10477: Fix timezone handling in s3aws tests, to avoid issues when the tests are
run in non-UTC environments.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/services/keepstore/s3aws_volume_test.go b/services/keepstore/s3aws_volume_test.go
index 57d81dbe0..33e671f3b 100644
--- a/services/keepstore/s3aws_volume_test.go
+++ b/services/keepstore/s3aws_volume_test.go
@@ -41,7 +41,7 @@ type s3AWSFakeClock struct {
func (c *s3AWSFakeClock) Now() time.Time {
if c.now == nil {
- return time.Now()
+ return time.Now().UTC()
}
return *c.now
}
@@ -336,7 +336,7 @@ func (s *StubbedS3AWSSuite) TestBackendStates(c *check.C) {
}
}
- t0 := time.Now()
+ t0 := time.Now().UTC()
nextKey := 0
for _, scenario := range []struct {
label string
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list