X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a08e3bb86caa758df7d33a3df3f6b8c333e47838..6e8c3cc1fe4328b708d5979e27632835f74261fb:/services/crunch-run/crunchrun_test.go?ds=sidebyside diff --git a/services/crunch-run/crunchrun_test.go b/services/crunch-run/crunchrun_test.go index 474ba5d7db..5e77d7bd7b 100644 --- a/services/crunch-run/crunchrun_test.go +++ b/services/crunch-run/crunchrun_test.go @@ -312,6 +312,9 @@ func (client *KeepTestClient) PutHB(hash string, buf []byte) (string, int, error return fmt.Sprintf("%s+%d", hash, len(buf)), len(buf), nil } +func (*KeepTestClient) ClearBlockCache() { +} + type FileWrapper struct { io.ReadCloser len int64 @@ -417,12 +420,18 @@ func (KeepErrorTestClient) ManifestFileReader(m manifest.Manifest, filename stri return nil, errors.New("KeepError") } +func (KeepErrorTestClient) ClearBlockCache() { +} + type KeepReadErrorTestClient struct{} func (KeepReadErrorTestClient) PutHB(hash string, buf []byte) (string, int, error) { return "", 0, nil } +func (KeepReadErrorTestClient) ClearBlockCache() { +} + type ErrorReader struct{} func (ErrorReader) Read(p []byte) (n int, err error) {