NSB PROX NFVi Test does not stop after reaching expected precision 67/62067/20
authorDanielMartinBuckley <daniel.m.buckley@intel.com>
Mon, 10 Sep 2018 18:02:10 +0000 (19:02 +0100)
committerDaniel Martin Buckley <daniel.m.buckley@intel.com>
Tue, 2 Oct 2018 10:36:39 +0000 (10:36 +0000)
commit7d5ff45a3b793f5e50b4a32b2438ab11fed6c899
tree8e776a944986c39e89184d01a67335145f833eb5
parentee5d6413dbcbab40234e47ed3e74b85b704d6493
NSB PROX NFVi Test does not stop after reaching expected precision

JIRA: YARDSTICK-1419

When using prox_binsearch algorithm, a binary search is
performed, increasing lower bound when step was successful
and decreasing upper bound when the step was a failure.

This runs until the test_precision (as specified in the
traffic profile) is reached. When the test precision
is reached, the test is not completed until the
runner duration is reached.

As runner duration is usually high (e.g. 1800sec), the
tests take much too long to execute.
This makes it difficult to create test suites.

Change-Id: I6cc503a09fb534a556c61c805e6df4786bb8cc4b
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
12 files changed:
yardstick/benchmark/runners/duration.py
yardstick/benchmark/runners/proxduration.py
yardstick/benchmark/scenarios/base.py
yardstick/benchmark/scenarios/networking/vnf_generic.py
yardstick/network_services/traffic_profile/base.py
yardstick/network_services/traffic_profile/prox_binsearch.py
yardstick/network_services/traffic_profile/prox_profile.py
yardstick/network_services/vnf_generic/vnf/prox_helpers.py
yardstick/tests/unit/benchmark/runner/test_duration.py
yardstick/tests/unit/benchmark/runner/test_proxduration.py
yardstick/tests/unit/network_services/traffic_profile/test_prox_profile.py
yardstick/tests/unit/network_services/vnf_generic/vnf/test_prox_helpers.py