meAmidos / dcind

Docker image with Docker Compose. Useful as a base image for integration tests in Concourse CI.
MIT License
142 stars 104 forks source link

Docker Container does not get attached / Test not visible #7

Closed chris-aeviator closed 6 years ago

chris-aeviator commented 6 years ago

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

meAmidos commented 6 years ago

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:

chris-aeviator commented 6 years ago

@meAmidos thx for your message - you were right, it was a problem with the integration script itself - will close.