Commit f810bf10 authored by John McDonnell's avatar John McDonnell Committed by Anastasia McDonald

Improve reliability of praefect wait check

parent e8ed8549
...@@ -199,6 +199,13 @@ module QA ...@@ -199,6 +199,13 @@ module QA
max_duration: 180, max_duration: 180,
retry_on_exception: true retry_on_exception: true
) )
QA::Runtime::Logger.info('Wait until Praefect starts and is listening')
wait_until_shell_command_matches(
"docker exec #{@praefect} bash -c 'cat /var/log/gitlab/praefect/current'",
/listening at tcp address/
)
wait_for_gitaly_check wait_for_gitaly_check
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment