Add comments to timeout between commands

Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
This commit is contained in:
anikeev-yadro 2022-11-10 17:35:28 +03:00 committed by anikeev-yadro
parent c4b1bcad1c
commit 9650dfb4aa

View file

@ -188,6 +188,9 @@ def include_node_to_network_map(
) -> None:
node_set_status(hosting, node_to_include, status="online")
# Per suggestion of @fyrchik we need to wait for 2 blocks after we set status and after tick epoch.
# First sleep can be ommited afer https://github.com/nspcc-dev/neofs-node/issues/1790 complete.
time.sleep(parse_time(MORPH_BLOCK_TIME) * 2)
tick_epoch(shell=shell)
time.sleep(parse_time(MORPH_BLOCK_TIME) * 2)