X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/45cc809dfeab1d603e80cec3d44770d7f5a7c8ae..41911de2ad09ab8f7621805bc199d77ca76f391b:/lib/controller/integration_test.go?ds=sidebyside diff --git a/lib/controller/integration_test.go b/lib/controller/integration_test.go index 6ac8c2e338..3418c1f81a 100644 --- a/lib/controller/integration_test.go +++ b/lib/controller/integration_test.go @@ -350,9 +350,8 @@ func (s *IntegrationSuite) TestS3WithFederatedToken(c *check.C) { c.Check(err, check.IsNil) c.Check(string(buf), check.Matches, `.* `+fmt.Sprintf("%d", len(testText))+` +s3://`+coll.UUID+`/test.txt\n`) - buf, err = exec.Command("s3cmd", append(s3args, "get", "s3://"+coll.UUID+"/test.txt", c.MkDir()+"/tmpfile")...).CombinedOutput() + buf, _ = exec.Command("s3cmd", append(s3args, "get", "s3://"+coll.UUID+"/test.txt", c.MkDir()+"/tmpfile")...).CombinedOutput() // Command fails because we don't return Etag header. - // c.Check(err, check.IsNil) flen := strconv.Itoa(len(testText)) c.Check(string(buf), check.Matches, `(?ms).*`+flen+` of `+flen+`.*`) }