commit | 2c3a8d701cd948c6d21d48cc57cebd14f8e02e69 | [log] [tgz] |
---|---|---|
author | Jon Hall <jhall@onlab.us> | Fri Sep 11 10:46:24 2015 -0700 |
committer | Jon Hall <jhall@onlab.us> | Fri Sep 11 13:49:42 2015 -0700 |
tree | f9f7bcbd95225e320fa677f8bc77c1f5e50967a2 | |
parent | 33a420742f31ba4b82a86f082ea1ee9b60fa709c [diff] |
Fix logic when handling bad onos output Change-Id: I5851a8bf5213de444e0f961cf0efcfd7df6e8e4d
diff --git a/TestON/tests/HAclusterRestart/dependencies/Counters.py b/TestON/tests/HAclusterRestart/dependencies/Counters.py index 7abd73a..21308c2 100644 --- a/TestON/tests/HAclusterRestart/dependencies/Counters.py +++ b/TestON/tests/HAclusterRestart/dependencies/Counters.py
@@ -35,6 +35,7 @@ main.log.error( "Could not parse counters response from ONOS" + str( i + 1 ) ) main.log.warn( repr( onosCounters[ i ] ) ) + return main.FALSE onosValue = None try: for database in current:
diff --git a/TestON/tests/HAminorityRestart/dependencies/Counters.py b/TestON/tests/HAminorityRestart/dependencies/Counters.py index 7abd73a..21308c2 100644 --- a/TestON/tests/HAminorityRestart/dependencies/Counters.py +++ b/TestON/tests/HAminorityRestart/dependencies/Counters.py
@@ -35,6 +35,7 @@ main.log.error( "Could not parse counters response from ONOS" + str( i + 1 ) ) main.log.warn( repr( onosCounters[ i ] ) ) + return main.FALSE onosValue = None try: for database in current:
diff --git a/TestON/tests/HAsanity/dependencies/Counters.py b/TestON/tests/HAsanity/dependencies/Counters.py index 7abd73a..21308c2 100644 --- a/TestON/tests/HAsanity/dependencies/Counters.py +++ b/TestON/tests/HAsanity/dependencies/Counters.py
@@ -35,6 +35,7 @@ main.log.error( "Could not parse counters response from ONOS" + str( i + 1 ) ) main.log.warn( repr( onosCounters[ i ] ) ) + return main.FALSE onosValue = None try: for database in current:
diff --git a/TestON/tests/HAsingleInstanceRestart/dependencies/Counters.py b/TestON/tests/HAsingleInstanceRestart/dependencies/Counters.py index 7abd73a..21308c2 100644 --- a/TestON/tests/HAsingleInstanceRestart/dependencies/Counters.py +++ b/TestON/tests/HAsingleInstanceRestart/dependencies/Counters.py
@@ -35,6 +35,7 @@ main.log.error( "Could not parse counters response from ONOS" + str( i + 1 ) ) main.log.warn( repr( onosCounters[ i ] ) ) + return main.FALSE onosValue = None try: for database in current: