Cleanup BaseMonitor unit tests 21/58821/1
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Fri, 8 Jun 2018 15:43:40 +0000 (16:43 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Wed, 20 Jun 2018 16:46:35 +0000 (16:46 +0000)
commitb222cd6d9b996eae915ad2c282f1f8f1d843f840
treeb4586e26d1af56a28eb8618fddbf3d966e5bae8e
parentc87a5438961cba359629800b31df3ad7f656aff8
Cleanup BaseMonitor unit tests

Stop multiprocessing queues to avoid BrokenPipe exception.
Assert correctly the raise of exceptions.

JIRA: YARDSTICK-1229

Change-Id: I1a1c92c49a439283a35c9a69b59d6866f35ec09a
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 94d56c9f7cd99baea08629eaf3e580d020494383)
yardstick/tests/unit/benchmark/scenarios/availability/test_basemonitor.py