summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/stateful_tests
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-04-24 12:12:03 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-04-24 12:12:03 +0300
commit19f6e9305ae851214c63e2dd45be9965faef6413 (patch)
treee98f9944ef8285557e6da9c72728aacbb6900a90 /scripts/automation/regression/stateful_tests
parent9b05a9d60b4cc819f3d190c4ad33a811866d4795 (diff)
revert added by mistake code
Diffstat (limited to 'scripts/automation/regression/stateful_tests')
-rwxr-xr-xscripts/automation/regression/stateful_tests/trex_rx_test.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/scripts/automation/regression/stateful_tests/trex_rx_test.py b/scripts/automation/regression/stateful_tests/trex_rx_test.py
index ac7ba592..c097b180 100755
--- a/scripts/automation/regression/stateful_tests/trex_rx_test.py
+++ b/scripts/automation/regression/stateful_tests/trex_rx_test.py
@@ -98,24 +98,19 @@ class CTRexRx_Test(CTRexGeneral_Test):
p = True,
nc = True,
rx_check = sample_rate,
- d = 50,
+ d = 100,
f = 'avl/sfr_delay_10_1g_no_bundeling.yaml',
l = 1000,
k = 10,
learn_verify = True,
- iom = 1,
l_pkt_mode = 2)
trex_res = self.trex.sample_to_run_finish()
print("\nLATEST RESULT OBJECT:")
print(trex_res)
- print ("\nLATEST DUMP:")
- print trex_res.get_latest_dump()
- cpu_util = trex_res.get_last_value("trex-global.data.m_cpu_util")
- cpu_util_hist = trex_res.get_value_list("trex-global.data.m_cpu_util")
- print("cpu util is:", cpu_util)
- print(cpu_util_hist)
+ #print ("\nLATEST DUMP:")
+ #print trex_res.get_latest_dump()
self.check_general_scenario_results(trex_res)
self.check_CPU_benchmark(trex_res)
@@ -243,7 +238,6 @@ class CTRexRx_Test(CTRexGeneral_Test):
l = 1000,
k = 10,
learn_verify = True,
- iom = 1,
l_pkt_mode = 2)
print('Run for 40 seconds, expect no errors')