Federico Simoncelli has posted comments on this change.

Change subject: BZ#741203 Don't return a value in domain selftest
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File vdsm/storage/sp.py
Line 1292:                   'masterValidate' : { 'mount' : False, 'valid' : 
False }
Line 1293:                 }
Line 1294:         code = 0
Line 1295:         try:
Line 1296:             domain.selftest()
I didn't change the behaviour here: I didn't add any new exception and I didn't 
remove any try block. The StorageException, OSError and Timeout exceptions are 
caught here (see few lines below). All the other exceptions are caught in the 
StatsThread.run() method.
Line 1297: 
Line 1298:             res = domain.getStats()
Line 1299:             stats.update(res)
Line 1300:             # Add here more selftests if needed


--
To view, visit http://gerrit.usersys.redhat.com/1012
To unsubscribe, visit http://gerrit.usersys.redhat.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I551970c1f426f2b28ad58e49310338de6b40a29f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Igor Lvovsky <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to