Small fix left out in 6c31c0534acf57fc3e0e26fe964bbc67d9d7d63c 09/4309/1
authorIdo Barnea <[email protected]>
Tue, 13 Dec 2016 14:33:25 +0000 (16:33 +0200)
committerIdo Barnea <[email protected]>
Wed, 14 Dec 2016 11:30:25 +0000 (13:30 +0200)
Signed-off-by: Ido Barnea <[email protected]>
scripts/automation/regression/stateful_tests/trex_general_test.py

index 5c1649e..fe38ed3 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.cont' % port_name
+                    path = 'trex-latecny-v2.data.%s.hist.cnt' % 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)