behave_tests: fix infinite recursion
[nfvbench.git] / behave_tests / features / non-regression.feature
index 5774418..1c21c47 100644 (file)
@@ -4,7 +4,6 @@ Feature: non-regression
   @throughput
   Scenario Outline: Run a NDR test for a defined frame size
       Given 10 sec run duration
-      And TRex is restarted
       And <frame_size> frame size
       And 100k flow count
       And ndr rate
@@ -26,18 +25,16 @@ Feature: non-regression
   @latency
   Scenario Outline: Run a latency test for a defined frame size and throughput percentage
       Given 10 sec run duration
-      And TRex is restarted
       And <frame_size> frame size
       And 100k flow count
-      And <throughput> rate of previous scenario
+      And packet rate equal to <percentage> of max throughput of last characterization
       When NFVbench API is ready
       Then run is started and waiting for result
       And push result to database
-      And verify latency result is in same range as the previous result
-      And verify latency result is in same range as the characterization result
+      And verify latency result is lower than 1000 microseconds
 
      Examples: Frame sizes and throughput percentages
-      | frame_size | throughput |
+      | frame_size | percentage |
       | 64         | 70%        |
       | 64         | 90%        |
       | 768        | 70%        |