projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b534fd1
)
7492: update keep-rsync test with bad blob signing key to expect Forbidden error...
author
radhika <radhika@curoverse.com>
Tue, 20 Oct 2015 15:40:05 +0000
(11:40 -0400)
committer
radhika <radhika@curoverse.com>
Tue, 20 Oct 2015 15:40:05 +0000
(11:40 -0400)
tools/keep-rsync/keep-rsync_test.go
patch
|
blob
|
history
diff --git
a/tools/keep-rsync/keep-rsync_test.go
b/tools/keep-rsync/keep-rsync_test.go
index 6fbb535a03a3069249b1ab22fa6aaae85740998f..60bc90acff68f56f9015a611f6e83639d7676569 100644
(file)
--- a/
tools/keep-rsync/keep-rsync_test.go
+++ b/
tools/keep-rsync/keep-rsync_test.go
@@
-352,7
+352,7
@@
func (s *ServerRequiredSuite) TestErrorDuringRsync_ErrorGettingBlockFromSrc(c *C
blobSigningKey = "thisisfakeblobsigningkey"
err := performKeepRsync(kcSrc, kcDst, blobSigningKey, "")
- c.Check(strings.
HasSuffix(err.Error(), "Block not found
"), Equals, true)
+ c.Check(strings.
Contains(err.Error(), "HTTP 403 \"Forbidden\"
"), Equals, true)
}
// Test rsync with error during Put to src.