Change in vdsm[master]: misc: Fix exception re-rasing in RollbackContext

nsoffer at redhat.com nsoffer at redhat.com
Wed Jan 1 11:07:33 UTC 2014


Nir Soffer has posted comments on this change.

Change subject: misc: Fix exception re-rasing in RollbackContext
......................................................................


Patch Set 3:

(1 comment)

....................................................
File tests/miscTests.py
Line 1153:             return
Line 1154:         except Exception:
Line 1155:             self.fail("Wrong exception was raised")
Line 1156: 
Line 1157:         self.fail("Exception was not raised")
This is indeed nicer, but the other tests in this class use the same logic. I suggest to add another patch for this, modifying all rollback context tests.
Line 1158: 
Line 1159: 
Line 1160: class FindCallerTests(TestCaseBase):
Line 1161:     def _assertFindCaller(self, callback):


-- 
To view, visit http://gerrit.ovirt.org/22860
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I0052717e2307ad6fec2225b3ad5f438c5a60e1c6
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vered Volansky <vvolansk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list