Fix HA tests to match recent ONOS changes
- Minor refactoring to prepare for Upgrade tests
- Fix for change in raft log location
- Fix for auto balancing of leader electors
- Fix for path not found being printed as an exception for intents
Change-Id: I55af0d09c9b3bf74c0f221e7caa6840373a8779d
diff --git a/TestON/tests/dependencies/Cluster.py b/TestON/tests/dependencies/Cluster.py
index b0af55e..1532039 100644
--- a/TestON/tests/dependencies/Cluster.py
+++ b/TestON/tests/dependencies/Cluster.py
@@ -494,6 +494,7 @@
maxSize = float( segmentSize ) * float( multiplier )
ret = True
for n in self.runningNodes:
- ret = ret and n.server.folderSize( "/opt/onos/apache-karaf-*/data/partitions/*/*.log",
+ # Partition logs
+ ret = ret and n.server.folderSize( "/opt/onos/apache-karaf-*/data/db/partitions/*/*.log",
size=maxSize, unit=units, ignoreRoot=False )
return ret