Add UT: DurationRunner worker normal operation 33/58233/10
authorMiikka Koistinen <miikka.koistinen@nokia.com>
Tue, 5 Jun 2018 10:33:17 +0000 (10:33 +0000)
committerMiikka Koistinen <miikka.koistinen@nokia.com>
Fri, 27 Jul 2018 09:33:37 +0000 (09:33 +0000)
commitacc0f9cffaa84553bd2b5d86dabd82d907a281da
treed4de3744f6a0cae053f3b9d94d46a83a23042554
parent000cc9146035aceb0980ea0db0e6d4648cca1ad1
Add UT: DurationRunner worker normal operation

* Use time.sleep to avoid multiprocessing.Queue broken pipe error.
* Use a real duration in one of the test cases to test that the worker
  has successfully completed multiple iterations.

JIRA: YARDSTICK-1199

Change-Id: I0e14682d9993b69e2aa9fd9340a5a7620e9c0d8e
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
yardstick/tests/unit/benchmark/runner/test_duration.py