summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/stateful_tests
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2017-03-06 23:16:59 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2017-03-07 16:54:00 +0200
commit8bd778d02fc0260b109bb4bb8fc11e3567e9130d (patch)
tree3734f54cbaa2541526584d1461e97ddb7dfc5d0f /scripts/automation/regression/stateful_tests
parentcebf5a44b5f28a03b245e43013cc27671a980206 (diff)
* add trex22 (Mellanox VF) and trex23(XL710 VF) regression configs
* fix test_fcs_stream: it did not fail on virtual NICs at all now accumulating all the errors instread of failing on first one * fix XL710 VF input counters (+4 bytes) Change-Id: I7661b4e14a037e5ee2a9c1bc116d835c9a16df91 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts/automation/regression/stateful_tests')
-rwxr-xr-xscripts/automation/regression/stateful_tests/trex_general_test.py1
-rwxr-xr-xscripts/automation/regression/stateful_tests/trex_rx_test.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/automation/regression/stateful_tests/trex_general_test.py b/scripts/automation/regression/stateful_tests/trex_general_test.py
index 1f52de07..b4da27f8 100755
--- a/scripts/automation/regression/stateful_tests/trex_general_test.py
+++ b/scripts/automation/regression/stateful_tests/trex_general_test.py
@@ -70,6 +70,7 @@ class CTRexGeneral_Test(unittest.TestCase):
self.unsupported_modes = []
self.is_loopback = True if 'loopback' in self.modes else False
self.is_virt_nics = True if 'virt_nics' in self.modes else False
+ self.is_vf_nics = True if 'vf_nics' in self.modes else False
self.is_VM = True if 'VM' in self.modes else False
if not CTRexScenario.is_init:
diff --git a/scripts/automation/regression/stateful_tests/trex_rx_test.py b/scripts/automation/regression/stateful_tests/trex_rx_test.py
index d2050703..7af7f366 100755
--- a/scripts/automation/regression/stateful_tests/trex_rx_test.py
+++ b/scripts/automation/regression/stateful_tests/trex_rx_test.py
@@ -12,7 +12,7 @@ class CTRexRx_Test(CTRexGeneral_Test):
"""This class defines the rx testcase of the TRex traffic generator"""
def __init__(self, *args, **kwargs):
CTRexGeneral_Test.__init__(self, *args, **kwargs)
- self.unsupported_modes = ['virt_nics'] # TODO: fix
+ self.unsupported_modes = ['virt_nics', 'vf_nics'] # TODO: fix (-k argument does not work)
def setUp(self):
CTRexGeneral_Test.setUp(self)