DImuthuUpe commented on code in PR #131:
URL: https://github.com/apache/airavata-mft/pull/131#discussion_r1546484997


##########
python-cli/mft_cli/airavata_mft_cli/bootstrap.py:
##########
@@ -160,6 +164,10 @@ def start_mft():
     zip_path = os.path.join(os.path.expanduser('~'), 
".mft/Standalone-Service-0.01-bin.zip")
     download_and_unarchive(url, zip_path)
 
+  while not is_port_open(8500):
+    print("Waiting for Consul to start...")
+    time.sleep(1)

Review Comment:
   @ShivangMishra Can you make this only run for 20 seconds and if the port is 
not open by then, throw an error message and exit the program?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to