add setup/teardown to scenario base class and runners 52/652/1
authorHans Feldt <hans.feldt@ericsson.com>
Tue, 26 May 2015 09:56:24 +0000 (11:56 +0200)
committerHans Feldt <hans.feldt@ericsson.com>
Tue, 26 May 2015 10:14:35 +0000 (12:14 +0200)
commitd290591a6f53d74ed00fe49e93654be5c486e998
tree7f183c9c33f89b2ffd413236293db8a865e47522
parentb2d8414cb1ba9700a88d629f6a3d1d88ca9dd92c
add setup/teardown to scenario base class and runners

Prepare for "service type" of scenarios that e.g. needs to start
a service in setup and shut it down in teardown.

In the runners, instantiation of the scenario is moved after the
"worker START" log to get a more logical sequence logged.

Change-Id: Idfaf5bb396eab9261e820291885b5a1dbc32f71e
JIRA: -
Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
yardstick/benchmark/runners/arithmetic.py
yardstick/benchmark/runners/duration.py
yardstick/benchmark/scenarios/base.py