Fixup test_node_undrained_when_shutdown_cancelled and test_alloc_node_undrained_when_...
[arvados.git] / services / keepstore / volume_test.go
index 2af1ad68d886856f3ea60445dfe830b7e3415e49..e8a5a338f51cb25d47f419d02f6ca76a211d535c 100644 (file)
@@ -201,7 +201,7 @@ func (v *MockVolume) Trash(loc string) error {
 
 // TBD
 func (v *MockVolume) Untrash(loc string) error {
-       return ErrNotImplemented
+       return nil
 }
 
 func (v *MockVolume) Status() *VolumeStatus {
@@ -223,3 +223,6 @@ func (v *MockVolume) Writable() bool {
 func (v *MockVolume) Replication() int {
        return 1
 }
+
+func (v *MockVolume) EmptyTrash() {
+}