X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/48ee36541552d5394234d3057a6c1d5957f40d2e..e3f324c979fe45803e2bd42aa8f6d715ea23edb5:/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 }