X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b16f84a8c5562cd5c3939e8c445dc86df2be2d4b..2887fa9c26cfd4ae6379e2cf4e6c5d50aaa0dd11:/services/keepstore/volume_test.go diff --git a/services/keepstore/volume_test.go b/services/keepstore/volume_test.go index 046f3fac2e..0b8af330fb 100644 --- a/services/keepstore/volume_test.go +++ b/services/keepstore/volume_test.go @@ -22,10 +22,14 @@ import ( // impractical to achieve with a sequence of normal Volume operations. type TestableVolume interface { Volume + // [Over]write content for a locator with the given data, // bypassing all constraints like readonly and serialize. PutRaw(locator string, data []byte) + // Returns the strings that a driver uses to record read/write operations. + ReadWriteOperationLabelValues() (r, w string) + // Specify the value Mtime() should return, until the next // call to Touch, TouchWithDate, or Put. TouchWithDate(locator string, lastPut time.Time) @@ -212,7 +216,7 @@ func (v *MockVolume) Type() string { return "Mock" } -func (v *MockVolume) Start() error { +func (v *MockVolume) Start(vm *volumeMetricsVecs) error { return nil }