-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql 5.7 docker container times out #35
Comments
It's also worth noting that when this fails, the container is left running and is not cleaned up afterwards. |
I added the following change:
and saw the following output:
While that was running (i.e. before it timed out), I checked if the ports were open and indeed, they were:
Because it isn't cleaned up, these are still open after the tox run is done. |
Looks like 33060 is the port for "the MySQL Database Extended Interface (the MySQL X Protocol)". It looks like this plugin is disabled by default before version 8.0 and I can't figure out a way to enable it without passing arbitrary commands to the container which isn't supported by |
Yup, with 8.0 things manage to get past that step (though they fail for other reasons). I'd like to see the ability to disable port checking, if necessary. If this makes sense to you, I'll submit a PR to do just that. |
This allows us to skip port validation for images that publish multiple ports, not all of which may be active at any given time. We also introduce reno, which is a release note manager that we can use to produce a helpful changelog for users. Signed-off-by: Stephen Finucane <[email protected]> Closes: tox-dev#35
I've left a comment on #36 with an alternate idea for MySQL. Re: postgres, I recently added health check support and have been using the following configuration with success:
Unfortunately the official postgres containers don't provide their own health check. Regarding the running containers left over, I've opened #37 to track this work. |
fixed by #49 |
I'm trying to integrate
tox-docker
with Patchwork The main reason we want docker is to provide databases for us. I have a draft up, with the main change happening here, and I'm seeing some issues with the functions that test for connectivity. For themysql:5.7
container, I'm seeing the following:On the other hand, I've had to insert a manual sleep for the
postgresql:9.6
variant of the same (e.g.py27-django111-postgre
) because otherwise my tests start before the database is ready.Am I doing something wrong here or is that port check broken somehow?
The text was updated successfully, but these errors were encountered: