task: drain background runner queues 57/45057/1
authorRoss Brattain <ross.b.brattain@intel.com>
Wed, 11 Oct 2017 20:30:14 +0000 (13:30 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Fri, 13 Oct 2017 20:59:37 +0000 (13:59 -0700)
commitf8fc6a898ea65e8f98a3e9e2ff9483b437a0e33f
tree5dc61933f7f47b2b280214a61f00bb7df4fd818d
parent06f8d7a47036fe92698a9b528282a2e96eb2d32a
task: drain background runner queues

We were not draining the queues in the background
runners.

Modify the main runner_join loop to loop over
all the runners and drain them.

The runner join method does extra work for periodic actions
so we can't change its behavior.

Instead create a new poll() method and use that
to check runner status

Change-Id: I9466ba40a6a4c45c82cedff279cbb4817c6b66ad
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
yardstick/benchmark/core/task.py
yardstick/benchmark/runners/base.py