test minor fix
authorHanoh Haim <[email protected]>
Thu, 11 Feb 2016 11:04:30 +0000 (13:04 +0200)
committerHanoh Haim <[email protected]>
Thu, 11 Feb 2016 11:04:30 +0000 (13:04 +0200)
scripts/automation/regression/unit_tests/functional_tests/stl_basic_tests.py
scripts/exp/imix_1pkt_vm.pcap
scripts/stl/yaml/imix_1pkt_vm.yaml

index 94d79fe..2f79d8d 100644 (file)
@@ -172,11 +172,11 @@ class CStlBasic_Test(functional_general_test.CGeneralFunctional_Test):
 
           ];
 
-        p0=[ ["udp_3pkt_pcap.py","-m 1 -l 10",True] ]
+        p1=[ ["yaml/imix_1pkt_vm.yaml","-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)
 
 
 
index 77096de..ec57dfb 100644 (file)
Binary files a/scripts/exp/imix_1pkt_vm.pcap and b/scripts/exp/imix_1pkt_vm.pcap differ
index 2260454..05443a6 100644 (file)
@@ -25,7 +25,7 @@
                   "add_value" : 1,
                   "is_big_endian" : false,
                   "name" : "l3_src",
-                  "pkt_offset" : 30,
+                  "pkt_offset" : 34,
                   "type" : "write_flow_var"
                }
                     ]