diff options
Diffstat (limited to 'behave_tests/features')
-rw-r--r-- | behave_tests/features/quick-test-10kpps.feature | 13 | ||||
-rw-r--r-- | behave_tests/features/steps/steps.py | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/behave_tests/features/quick-test-10kpps.feature b/behave_tests/features/quick-test-10kpps.feature new file mode 100644 index 0000000..d46000c --- /dev/null +++ b/behave_tests/features/quick-test-10kpps.feature @@ -0,0 +1,13 @@ +@quick-test-10kpps +Feature: quick-test-10kpps + + @throughput + Scenario: Run a 10s test at 10kpps with 64-byte frames and 128 flows + Given 10 sec run duration + And TRex is restarted + And 64 frame size + And 128 flow count + And 10kpps rate + When NFVbench API is ready + Then 1 runs are started and waiting for maximum result + And push result to database diff --git a/behave_tests/features/steps/steps.py b/behave_tests/features/steps/steps.py index b20a9cc..f4dda58 100644 --- a/behave_tests/features/steps/steps.py +++ b/behave_tests/features/steps/steps.py @@ -284,7 +284,7 @@ def push_result_database(context): """Utils methods.""" -@retry(AssertionError, tries=10, delay=5.0, logger=None) +@retry(AssertionError, tries=24, delay=5.0, logger=None) def test_nfvbench_api(context): try: r = requests.get("http://{ip}:{port}/status".format(ip=context.host_ip, port=context.port)) |