Docker Container does not get attached / Test not visible
chris-aeviator opened this issue · comments
when running my integration testsuite through either with preconfigured integration test job in my integration.yml file via docker-compose -f code-repository/integration.yml run tests
or docker-compose -f code-repository/integration.yml up -d
and directly after docker-compose -f code-repository/integration.yml run --rm -w /var/www/html/public php php scripts/run-tests.sh --php /usr/local/bin/php --url http://nginx --verbose --color --class DownloadRestrictionsTestcase
I can see the docker-compose output "starting containers" with their done flags but concourse won't wait for further output and directly proceeds to the next step, in this case docker-compose -f code-repository/integration.yml down
Based on your description, I would assume there is some misconfiguration either in you Docker Compose file or in the container with tests.
I would suggest checking:
- if the tests actually run when executed manually not in a container
- if
docker-compose -f code-repository/integration.yml run tests
runs as expected when called manually
@meAmidos thx for your message - you were right, it was a problem with the integration script itself - will close.