From a527f80f44889537819cbcfc514d813592c08975 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Fri, 31 Jul 2020 16:32:42 -0400 Subject: [PATCH] 16535: Test Size field in list response. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- services/keep-web/s3_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/keep-web/s3_test.go b/services/keep-web/s3_test.go index d25e9e47fc..77097b1526 100644 --- a/services/keep-web/s3_test.go +++ b/services/keep-web/s3_test.go @@ -332,6 +332,9 @@ func (s *IntegrationSuite) testS3List(c *check.C, bucket *s3.Bucket, prefix stri } for _, key := range resp.Contents { gotKeys[key.Key] = key + if strings.Contains(key.Key, "sailboat.txt") { + c.Check(key.Size, check.Equals, int64(4)) + } } if !resp.IsTruncated { c.Check(resp.NextMarker, check.Equals, "") -- 2.30.2