From 9616f567ba210330a4679a0ac5c6ee7f8a3c4fef Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 14 May 2024 22:49:46 +0200 Subject: [PATCH] Wait a bit after upgrade for CI tests --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 9b6047e..db22808 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -81,4 +81,9 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --l # END OF SCRIPT #================================================= +# Let's wait a bit for migrations to happen +if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + sleep 5 +fi + ynh_script_progression --message="Upgrade of $app completed" --last