Add timeout between commands

According to developers opinion (@fyrchik)

Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
This commit is contained in:
anikeev-yadro 2022-11-10 12:12:27 +03:00 committed by anikeev-yadro
parent e3b27a7643
commit b66d04faf8

View file

@ -188,8 +188,9 @@ def include_node_to_network_map(
) -> None: ) -> None:
node_set_status(hosting, node_to_include, status="online") node_set_status(hosting, node_to_include, status="online")
time.sleep(parse_time(MORPH_BLOCK_TIME)) time.sleep(parse_time(MORPH_BLOCK_TIME) * 2)
tick_epoch(shell=shell) tick_epoch(shell=shell)
time.sleep(parse_time(MORPH_BLOCK_TIME) * 2)
check_node_in_map(node_to_include, shell, alive_node) check_node_in_map(node_to_include, shell, alive_node)