task: drain background runner queues 37/44837/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>
Wed, 11 Oct 2017 20:34:12 +0000 (13:34 -0700)
commit0fa0ba5934440fdb51c2aee8dc2e7cc8f40306e8
tree11430453002ef8b06b75ad54fb946185624d2fef
parent19e0c4d2e004e18e6f5687e420dc51a4032b06c2
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