commit | f9f0fa987e3bf974fe073c695b6f16a0d2d37cd3 | [log] [tgz] |
---|---|---|
author | YPZhang <yunpeng@onlab.us> | Mon May 23 15:44:44 2016 -0700 |
committer | YPZhang <yunpeng@onlab.us> | Mon May 23 15:44:44 2016 -0700 |
tree | 03574b920f3deb76f35ba31c5078951634c70f37 | |
parent | 3d7195363c57d6141aee12c25c1663ff20943ffa [diff] |
HotFix SCPFscalingMaxIntents and SCPFscalingMaxIntentsWithFobj - Fixed a small bug. If test failed in early, the intents number is not correct. Change-Id: I3d2b2ba3a37b174caf97fe2fa3712ccef3e7e91e
diff --git a/TestON/tests/SCPF/SCPFscalingMaxIntents/SCPFscalingMaxIntents.py b/TestON/tests/SCPF/SCPFscalingMaxIntents/SCPFscalingMaxIntents.py index 608f0e6..a6f4445 100644 --- a/TestON/tests/SCPF/SCPFscalingMaxIntents/SCPFscalingMaxIntents.py +++ b/TestON/tests/SCPF/SCPFscalingMaxIntents/SCPFscalingMaxIntents.py
@@ -483,6 +483,7 @@ if not intentsState: # If some intents are not installed, grep the previous flows list, and finished this test case main.log.warn( "Some intens did not install" ) + verifyTotalIntents = main.CLIs[0].getTotalIntentsNum(timeout=600) main.log.info("Total Intents: {}".format( verifyTotalIntents) ) break
diff --git a/TestON/tests/SCPF/SCPFscalingMaxIntentsWithFlowObj/SCPFscalingMaxIntentsWithFlowObj.py b/TestON/tests/SCPF/SCPFscalingMaxIntentsWithFlowObj/SCPFscalingMaxIntentsWithFlowObj.py index 97dc6f3..438338a 100644 --- a/TestON/tests/SCPF/SCPFscalingMaxIntentsWithFlowObj/SCPFscalingMaxIntentsWithFlowObj.py +++ b/TestON/tests/SCPF/SCPFscalingMaxIntentsWithFlowObj/SCPFscalingMaxIntentsWithFlowObj.py
@@ -486,6 +486,7 @@ if not intentsState: # If some intents are not installed, grep the previous flows list, and finished this test case main.log.warn( "Some intens did not install" ) + verifyTotalIntents = main.CLIs[0].getTotalIntentsNum(timeout=600) main.log.info("Total Intents: {}".format( totalIntents) ) break