Change in vdsm[master]: virt: introduce support for periodic operations

danken at redhat.com danken at redhat.com
Thu Mar 26 16:39:18 UTC 2015


Dan Kenigsberg has posted comments on this change.

Change subject: virt: introduce support for periodic operations
......................................................................


Patch Set 25:

(1 comment)

https://gerrit.ovirt.org/#/c/37593/25/tests/periodicTests.py
File tests/periodicTests.py:

Line 146:         def _work():
Line 147:             invokations[0] += 1
Line 148:             invokations[1] = monotonic_time()
Line 149:             if invokations[0] == BLOCK_AT:
Line 150:                 # must be > (PERIOD * TIMES) ~= forever
# block until the final _work() call is done and exit
 done.wait(10* PERIOD * TIMES)
 return
Line 151:                 time.sleep(10 * PERIOD * TIMES)
Line 152:             executions[0] += 1
Line 153:             executions[1] = monotonic_time()
Line 154:             if invokations[0] == TIMES:


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I834c067b1d3dba16a1f8c83e555d2cc04cbf32ed
Gerrit-PatchSet: 25
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list