diff options
Diffstat (limited to 'cpp/src/tests/ha_test.py')
-rwxr-xr-x | cpp/src/tests/ha_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/ha_test.py b/cpp/src/tests/ha_test.py index 79db67e3c8..462c90bfb3 100755 --- a/cpp/src/tests/ha_test.py +++ b/cpp/src/tests/ha_test.py @@ -199,7 +199,7 @@ class HaCluster(object): HaCluster._cluster_count += 1 for i in xrange(n): self.start(False) self.update_urls() - self[0].promote() + if promote: self[0].promote() def next_name(self): name="cluster%s-%s"%(self.id, self.broker_id) |