Skip to content
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

pkg/index: wait for the database to be actually ready when creating kv #1265

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mpl
Copy link
Contributor

@mpl mpl commented Jun 13, 2019

pkg/test/dockertest: publish container port on random host port, because
container IP is actually only reachable when natively on linux. And it
has to be a random, variable, port, otherwise concurrent tests runs would
block each other when trying to bind on same port.

=> makes the MySQL tests in pkg/index pass on darwin.

pkg/test/dockertest: publish container port on random host port, because
container IP is actually only reachable when natively on linux. And it
has to be a random, variable, port, otherwise concurrent tests runs would
block each other when trying to bind on same port.

=> makes the MySQL tests in pkg/index pass on darwin.
@googlebot googlebot added the cla: yes Author has submitted the Google CLA. label Jun 13, 2019
@mpl mpl requested a review from bradfitz June 13, 2019 23:06
@mpl
Copy link
Contributor Author

mpl commented Jun 14, 2019

FWIW, I've run "go test ./..." also on my linux machine and tests were passing. So I have to investigate what exactly goes wrong on Travis.

Since the tests also pass on my linux machine, tweaking the travis.yml
for more verbosity, to see if we can find out what actually goes wrong
on Travis CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Author has submitted the Google CLA. docker Index Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants