Controller active flag fixes
- Detect when iterator needs to be reset
- Reset iterator after changing active flag
- renamed resetActive() to clearActive() to avoid confusion with reset()
Change-Id: Ia5fa8f0827918ac0c912a662de67144267ecadac
diff --git a/TestON/tests/HA/HAstopNodes/HAstopNodes.py b/TestON/tests/HA/HAstopNodes/HAstopNodes.py
index bbb8db7..62b8ee5 100644
--- a/TestON/tests/HA/HAstopNodes/HAstopNodes.py
+++ b/TestON/tests/HA/HAstopNodes/HAstopNodes.py
@@ -196,6 +196,7 @@
killResults = killResults and\
ctrl.onosStop( ctrl.ipAddress )
ctrl.active = False
+ main.Cluster.reset()
utilities.assert_equals( expect=main.TRUE, actual=killResults,
onpass="ONOS nodes stopped successfully",
onfail="ONOS nodes NOT successfully stopped" )