Change in vdsm[master]: tests: skip jsonrpc tests

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Tue Jun 23 18:51:55 UTC 2015


Piotr Kliczewski has uploaded a new change for review.

Change subject: tests: skip jsonrpc tests
......................................................................

tests: skip jsonrpc tests

Change-Id: Ia0dcf7b83178ac539a12b3cc6857f7dd18dd6c15
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M tests/jsonRpcTests.py
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/74/42774/1

diff --git a/tests/jsonRpcTests.py b/tests/jsonRpcTests.py
index 3606bba..3a99696 100644
--- a/tests/jsonRpcTests.py
+++ b/tests/jsonRpcTests.py
@@ -22,6 +22,7 @@
 from clientIF import clientIF
 from contextlib import contextmanager
 from monkeypatch import MonkeyPatch
+from testValidation import brokentest
 
 from testlib import VdsmTestCase as TestCaseBase, \
     expandPermutations, \
@@ -101,6 +102,7 @@
             finally:
                 client.close()
 
+    @brokentest
     @MonkeyPatch(clientIF, 'getInstance', getInstance)
     @permutations(PERMUTATIONS)
     def testMethodCallArgList(self, ssl, type):
@@ -117,6 +119,7 @@
                     self.assertEquals(self._callTimeout(client, "echo",
                                       (data,), CALL_ID), data)
 
+    @brokentest
     @MonkeyPatch(clientIF, 'getInstance', getInstance)
     @permutations(PERMUTATIONS)
     def testMethodCallArgDict(self, ssl, type):
@@ -132,6 +135,7 @@
                     self.assertEquals(self._callTimeout(client, "echo",
                                       {'text': data}, CALL_ID), data)
 
+    @brokentest
     @MonkeyPatch(clientIF, 'getInstance', getInstance)
     @permutations(PERMUTATIONS)
     def testMethodMissingMethod(self, ssl, type):
@@ -150,6 +154,7 @@
                     self.assertEquals(cm.exception.code,
                                       JsonRpcMethodNotFoundError().code)
 
+    @brokentest
     @MonkeyPatch(clientIF, 'getInstance', getInstance)
     @permutations(PERMUTATIONS)
     def testMethodBadParameters(self, ssl, type):
@@ -170,6 +175,7 @@
                     self.assertEquals(cm.exception.code,
                                       JsonRpcInternalError().code)
 
+    @brokentest
     @MonkeyPatch(clientIF, 'getInstance', getInstance)
     @permutations(PERMUTATIONS)
     def testMethodReturnsNullAndServerReturnsTrue(self, ssl, type):
@@ -186,6 +192,7 @@
                                             CALL_ID)
                     self.assertEquals(res, True)
 
+    @brokentest
     @MonkeyPatch(clientIF, 'getInstance', getInstance)
     @permutations(PERMUTATIONS)
     def testDoubleResponse(self, ssl, type):
@@ -205,6 +212,7 @@
                                             CALL_ID)
                     self.assertEquals(res, 'sent')
 
+    @brokentest
     @MonkeyPatch(clientIF, 'getInstance', getInstance)
     @permutations(PERMUTATIONS)
     def testSlowMethod(self, ssl, type):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0dcf7b83178ac539a12b3cc6857f7dd18dd6c15
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>


More information about the vdsm-patches mailing list