diff --git a/tests/functional/pyocf/types/volume.py b/tests/functional/pyocf/types/volume.py index fa23de9..6848d0c 100644 --- a/tests/functional/pyocf/types/volume.py +++ b/tests/functional/pyocf/types/volume.py @@ -466,6 +466,7 @@ class ErrorDevice(Volume): def reset_stats(self): self.vol.reset_stats() super().reset_stats() + self.stats["errors"] = {IoDir.WRITE: 0, IoDir.READ: 0} def get_length(self): return self.vol.get_length()