Temporary Revert "Small fix left out in 6c31c0534acf57fc3e0e26fe964bbc67d9d7d63c" 05/4305/1
authorIdo Barnea <[email protected]>
Tue, 13 Dec 2016 19:24:48 +0000 (21:24 +0200)
committerIdo Barnea <[email protected]>
Tue, 13 Dec 2016 19:24:48 +0000 (21:24 +0200)
since it brakes regression on 06 and 25. Seems like real issue on these setups.

This reverts commit fe755604ec04ed7f8622394f99f0048901dad4e1.

scripts/automation/regression/stateful_tests/trex_general_test.py

index fe38ed3..5c1649e 100755 (executable)
@@ -270,7 +270,7 @@ class CTRexGeneral_Test(unittest.TestCase):
                 if not ports_names:
                     raise AbnormalResultError('Could not find ports info in TRex results, path: trex-latecny-v2.data.port-*')
                 for port_name in ports_names:
-                    path = 'trex-latecny-v2.data.%s.hist.cnt' % port_name
+                    path = 'trex-latecny-v2.data.%s.hist.cont' % port_name
                     lat_count = trex_res.get_last_value(path)
                     if lat_count == 0:
                         self.fail('LatencyError: Number of latency packets received on %s is 0' % port_name)