Adam Litke has uploaded a new change for review.

Change subject: tests: Fix writing of logBlkSize property
......................................................................

tests: Fix writing of logBlkSize property

This recent patch[1] changed FakeBlockStorageDomain so that we would not
attempt to write to readonly properties in the StorageDomain class.
This patch extends that logic to also cover the logBlkSize property

[1] https://gerrit.ovirt.org/#/c/42006/

Change-Id: I7059a268a0c64578805803249a4526eec09be2bb
Signed-off-by: Adam Litke <[email protected]>
---
M tests/volumeTests.py
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/51/42051/1

diff --git a/tests/volumeTests.py b/tests/volumeTests.py
index 4e04f47..dbcccd9 100644
--- a/tests/volumeTests.py
+++ b/tests/volumeTests.py
@@ -83,7 +83,7 @@
 
     def __init__(self, sdUUID, occupiedMetadataSlots=None):
         self._sdUUID = sdUUID
-        self.logBlkSize = SDBLKSZ
+        self._logBlkSize = SDBLKSZ
         self.occupiedMetadataSlots = occupiedMetadataSlots
 
     @property
@@ -91,6 +91,10 @@
         return self._sdUUID
 
     @property
+    def logBlkSize(self):
+        return self._logBlkSize
+
+    @property
     def stat(self):
         return None
 


-- 
To view, visit https://gerrit.ovirt.org/42051
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7059a268a0c64578805803249a4526eec09be2bb
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to