projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89bd8ab
)
16535: Test Size field in list response.
author
Tom Clegg <tom@tomclegg.ca>
Fri, 31 Jul 2020 20:32:42 +0000
(16:32 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Fri, 31 Jul 2020 20:32:42 +0000
(16:32 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
services/keep-web/s3_test.go
patch
|
blob
|
history
diff --git
a/services/keep-web/s3_test.go
b/services/keep-web/s3_test.go
index d25e9e47fcacd3e2c0e47565fa52ec52b3b2f6b0..77097b1526d2e7ce895684a684abc2fc36190933 100644
(file)
--- 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, "")