summaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/client.py')
-rw-r--r--deploy/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/client.py b/deploy/client.py
index 593f9033..fc5dc729 100644
--- a/deploy/client.py
+++ b/deploy/client.py
@@ -871,11 +871,11 @@ class CompassClient(object):
(cluster_id, status, cluster_state)
)
- LOG.info("current_time=%s, deployment_timeout=%s" \
- % (current_time(), deployment_timeout))
time.sleep(5)
- if not current_time() < deployment_timeout:
+ if current_time() >= deployment_timeout:
+ LOG.info("current_time=%s, deployment_timeout=%s" \
+ % (current_time(), deployment_timeout))
raise RuntimeError("installation timeout")
try: