summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/stateful_tests/trex_general_test.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2017-02-07 13:36:58 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2017-02-07 13:36:58 +0200
commitd3c7c3980c60598ddd3e1da4144a6df32893f3c9 (patch)
treee3d2d807ccac04c19fccd92217252cd080526791 /scripts/automation/regression/stateful_tests/trex_general_test.py
parenta47b869616194551a300ff376dc2cc1f03f09d95 (diff)
Regression: another fix for ipv6 STL test, add flag --no-dut-config to disable DUT config
Change-Id: I56c38324086cfc81d2ad0a451d528707f5357b51 Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts/automation/regression/stateful_tests/trex_general_test.py')
-rwxr-xr-xscripts/automation/regression/stateful_tests/trex_general_test.py2
1 files changed, 1 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 dda379f9..1f52de07 100755
--- a/scripts/automation/regression/stateful_tests/trex_general_test.py
+++ b/scripts/automation/regression/stateful_tests/trex_general_test.py
@@ -403,7 +403,7 @@ class CTRexGeneral_Test(unittest.TestCase):
self.trex.force_kill(confirm = False)
if not self.is_loopback:
print('')
- if not self.stl_trex: # stateful
+ if not self.stl_trex and CTRexScenario.router_cfg['forceCleanConfig']:
self.router.load_clean_config()
self.router.clear_counters()
self.router.clear_packet_drop_stats()