Change in vdsm[master]: tests: add FakeSanlock.init_resource

alitke at redhat.com alitke at redhat.com
Wed Dec 2 02:51:10 UTC 2015


Adam Litke has uploaded a new change for review.

Change subject: tests: add FakeSanlock.init_resource
......................................................................

tests: add FakeSanlock.init_resource

Change-Id: I61ec7d516dc77e318a1c2d4c10bf49ccfdc5098b
Signed-off-by: Adam Litke <alitke at redhat.com>
---
M tests/testrunner.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/42/49542/1

diff --git a/tests/testrunner.py b/tests/testrunner.py
index 7e68aaa..b37902e 100644
--- a/tests/testrunner.py
+++ b/tests/testrunner.py
@@ -52,6 +52,9 @@
     HOST_FAIL = 4
     HOST_DEAD = 5
 
+    def init_resource(self, sdUUID, volUUID, lockDisk):
+        pass
+
 
 sys.modules.update({'sanlock': FakeSanlock()})
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I61ec7d516dc77e318a1c2d4c10bf49ccfdc5098b
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <alitke at redhat.com>


More information about the vdsm-patches mailing list