*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit ce2be017 authored by Tsepelakis, Sotirios's avatar Tsepelakis, Sotirios :dart:
Browse files

:hourglass_flowing_sand: Tests: wait for docker services

* Wait for services to be up before running tests. This is important, especially for OpenSearch
* Generally depends on the CPU power of the hosting machine, thus this is an extra protective measure
parent f9b1f9f9
No related branches found
No related tags found
1 merge request!67⏳ Tests: wait for docker services
......@@ -40,7 +40,7 @@ if [[ ${keep_services} -eq 0 ]]; then
fi
export LC_TIME=en_US.UTF-8
eval "$(docker-services-cli up --db "${DB:-postgresql}" --search "${SEARCH:-opensearch}" --mq "${MQ:-rabbitmq}" --cache "${CACHE:-redis}" --env)"
eval "$(docker-services-cli up --db "${DB:-postgresql}" --search "${SEARCH:-opensearch}" --mq "${MQ:-rabbitmq}" --cache "${CACHE:-redis}" --env --no-wait)"
# Note: expansion of pytest_args looks like below to not cause an unbound
# variable error when 1) "nounset" and 2) the array is empty.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment