- Using retry for balance master
Change-Id: I912ba47386fd8fb5da16937a62a0798e80f8dec3
diff --git a/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py b/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py
index dd987c8..ae197a6 100644
--- a/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py
+++ b/TestON/tests/SCPFscaleTopo/SCPFscaleTopo.py
@@ -407,7 +407,12 @@
stepResult = main.FALSE
if main.activeNodes:
controller = main.activeNodes[0]
- stepResult = main.CLIs[controller].balanceMasters()
+ stepResult = utilities.retry( main.CLIs[controller].balanceMasters,
+ main.FALSE,
+ [],
+ sleep=3,
+ attempts=3 )
+
else:
main.log.error( "List of active nodes is empty" )
utilities.assert_equals( expect=main.TRUE,