commit | 07ec564b572440cef8f90614370818e69938214d | [log] [tgz] |
---|---|---|
author | You Wang <you@opennetworking.org> | Tue Dec 11 14:32:04 2018 -0800 |
committer | You Wang <you@opennetworking.org> | Tue Dec 11 14:32:04 2018 -0800 |
tree | 0236d118e0e92b02e91bcd27d0a08d24e5f5459e | |
parent | 71d02c3aed9992eacfcc3684589f808c0f4af6fa [diff] |
Get correct latency in SCPFintentInstallWithdrawLat Change-Id: Ib280935615cc1f1fd9ebfd8b67d5481c8545216b
diff --git a/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py b/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py index 8b798bd..f4c1c8e 100644 --- a/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py +++ b/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py
@@ -202,7 +202,7 @@ continue try: - latency = int( installResult.split()[ 5 ] ) + latency = int( installResult.split()[ -2 ] ) main.log.info( installResult ) except: main.log.error( "Failed to get latency, ignore this iteration." ) @@ -245,7 +245,7 @@ continue try: - latency = int( withdrawResult.split()[ 5 ] ) + latency = int( withdrawResult.split()[ -2 ] ) main.log.info( withdrawResult ) except: main.log.error( "Failed to get latency, ignore this iteration." )