Convert the iterations variable to int for cluster tests
Change-Id: Ifb34e7d9d9149d3a8b782fc2d2bc7bb4ff23f275
diff --git a/src/test/cluster/clusterTest.py b/src/test/cluster/clusterTest.py
index a0281db..af05873 100644
--- a/src/test/cluster/clusterTest.py
+++ b/src/test/cluster/clusterTest.py
@@ -63,7 +63,7 @@
subscriber = cluster_subscriber()
testcaseLoggers = ('test_cluster_controller_restarts', 'test_cluster_graceful_controller_restarts',
'test_cluster_single_controller_restarts', 'test_cluster_restarts')
- iterations = os.getenv('ITERATIONS', 10)
+ iterations = int(os.getenv('ITERATIONS', 10))
def setUp(self):
if self._testMethodName not in self.testcaseLoggers: