projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '8567-docker-migrator' refs #8567
[arvados.git]
/
services
/
keepstore
/
volume_test.go
diff --git
a/services/keepstore/volume_test.go
b/services/keepstore/volume_test.go
index 917942e78720d38f49bd88afc5f070b008cd1307..931c10e69044c4715eb35ccab4d33872a848db5d 100644
(file)
--- a/
services/keepstore/volume_test.go
+++ b/
services/keepstore/volume_test.go
@@
-96,7
+96,7
@@
func (v *MockVolume) gotCall(method string) {
}
}
}
}
-func (v *MockVolume) Compare(loc string, buf []byte) error {
+func (v *MockVolume) Compare(
ctx context.Context,
loc string, buf []byte) error {
v.gotCall("Compare")
<-v.Gate
if v.Bad {
v.gotCall("Compare")
<-v.Gate
if v.Bad {
@@
-126,7
+126,7
@@
func (v *MockVolume) Get(ctx context.Context, loc string, buf []byte) (int, erro
return 0, os.ErrNotExist
}
return 0, os.ErrNotExist
}
-func (v *MockVolume) Put(loc string, block []byte) error {
+func (v *MockVolume) Put(
ctx context.Context,
loc string, block []byte) error {
v.gotCall("Put")
<-v.Gate
if v.Bad {
v.gotCall("Put")
<-v.Gate
if v.Bad {