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: