summaryrefslogtreecommitdiffstats
path: root/scripts/automation
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-02-10 16:05:35 +0200
committerHanoh Haim <hhaim@cisco.com>2016-02-10 16:05:35 +0200
commit6c3a6dd6c1f2bf1c6a39dacad8e5db3551580521 (patch)
tree5f9b7561f81914ec7be32ef4657f32c51e8ae7b1 /scripts/automation
parent267aeb3436afe9929e6dda1c1681a342bcb534da (diff)
multi burst example
Diffstat (limited to 'scripts/automation')
-rw-r--r--scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py9
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py2
2 files changed, 6 insertions, 5 deletions
diff --git a/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py b/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py
index d94ac646..40a02de5 100644
--- a/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py
+++ b/scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py
@@ -145,7 +145,7 @@ class CStlBasic_Test(functional_general_test.CGeneralFunctional_Test):
self.golden_run("basic_tuple_gen", "imix_tuple_gen", "-m 50kpps --limit 500 --cores 8", silent = False)
def test_all_profiles (self):
- p=[
+ p1=[
["udp_1pkt_1mac_override.py","-m 1 -l 50",True],
["syn_attack.py","-m 1 -l 50",False], # can't compare random now
["udp_1pkt_1mac.py","-m 1 -l 50",True],
@@ -157,13 +157,14 @@ class CStlBasic_Test(functional_general_test.CGeneralFunctional_Test):
["udp_1pkt_mpls_vm.py","-m 1 ",True],
["imix.py","-m 1 -l 100",True],
["udp_inc_len_9k.py","-m 1 -l 100",True],
- ["udp_1pkt_range_clients.py","-m 1 -l 100",True]
+ ["udp_1pkt_range_clients.py","-m 1 -l 100",True],
+ ["multi_burst_2st_1000pkt.py","-m 1 -l 100",True]
];
- #p=[ ["burst_3st_600pkt.py","-m 1 -l 100",True] ]
+ p=[ ["multi_burst_2st_1000pkt.py","-m 1 -l 100",True] ]
for obj in p:
- self.run_py_profile_path (obj[0],obj[1],compare =obj[2], do_no_remove=False)
+ self.run_py_profile_path (obj[0],obj[1],compare =obj[2], do_no_remove=True)
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py
index 91eef745..50b9f896 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py
@@ -63,7 +63,7 @@ class STLTXMultiBurst(STLTXMode):
def __init__ (self,
pps = 1,
pkts_per_burst = 1,
- ibg = 0.0,
+ ibg = 0.0, # usec not SEC
count = 1):
if not isinstance(pps, (int, float)):