Statistics
| Branch: | Tag: | Revision:

root / qa / qa_job_utils.py @ 57efdaf5

History | View | Annotate | Download (8.7 kB)

# Date Author Comment
57efdaf5 03/05/2014 11:21 am Hrvoje Ribicic

Add an expected block option to RunWithLocks

To compensate for the cases where a QA test is supposed to block when
a lock is present, add an additional option showing whether blocking is
supposed to happen or not.

Signed-off-by: Hrvoje Ribicic <>...

34c5ec6c 03/05/2014 11:21 am Hrvoje Ribicic

Track if a QA test was blocked by locks

This patch adds threading to the RunWithTests function, allowing one
thread to execute the QA test, and the other to monitor if it is being
blocked by locks set up during the test. If it is, terminate the
blocking job, and let the QA continue, reporting the test failure at...

343c9ed2 03/05/2014 11:21 am Hrvoje Ribicic

Add a RunWithLocks QA utility function

This patch adds a QA utility function that acquires a set of locks, and
attempts to run a given function with the locks in place. Should the
given function block, this function does not detect this - later
patches will address the issue....