Creating head node might take more than 50-30 seconds to show up. (#9066)

This commit is contained in:
Ameer Haj Ali
2020-06-21 11:12:37 -07:00
committed by GitHub
parent 432ce1be50
commit 76583d4a3a
+1 -1
View File
@@ -228,7 +228,7 @@ def get_or_create_head_node(config, config_file, no_restart, restart_only, yes,
start = time.time()
head_node = None
while True:
if time.time() - start > 5:
if time.time() - start > 50:
raise RuntimeError("Failed to create head node.")
nodes = provider.non_terminated_nodes(head_node_tags)
if len(nodes) == 1: