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

Database port missing in Magento\TestFramework\Db\Mysql #3529 #4275

Conversation

gordonknoppe
Copy link
Contributor

Fixes #3529

It is possible to configure Magento to connect a MySQL database using any port number. It is also possible to configure Magento to use any port number for connecting to a MySQL database for running integration tests. When using a port other than 3306 for integration tests PHPUnit will throw an error and not complete successfully.

Steps to reproduce:

  • Configure integration tests to access a database running on a port other than 3306 (Set 'db-host' in install-config-mysql.php using host:port notation)

Expected result:

  • Integration tests complete successfully

Actual result (before this fix):

  • Integration tests fail because the mysqldump and mysql clients are only given a host parameter and do not consider the possibility of a custom port

- Add port number parsing to connection parameters
@tkn98
Copy link
Contributor

tkn98 commented May 2, 2016

Thanks for providing a PR.

/Edit: I used this patch as base against 2.0.5 to run integration tests and albeit it looks good on it's own, it also looks incomplete as tests are missing. I'll update according to my progress.

/Edit2: Looks good so far.

@KrystynaKabannyk
Copy link

Hello @gordonknoppe, this PR has been merged in the 2.1.0 Release, that's why I'm closing it. If you any questions or additional information regarding the PR feel free to reopen it or create a new one.

@shiftedreality
Copy link
Member

Looks like this was not merged.
Reopened for processing.

@shiftedreality shiftedreality reopened this Jul 5, 2016
@tkn98
Copy link
Contributor

tkn98 commented Jul 6, 2016

@KrystynaKabannyk: Can you share the references in the repository regarding this fix changes?

@magento-cicd2 magento-cicd2 merged commit 9f99d7b into magento:develop Jul 13, 2016
magento-engcom-team pushed a commit to okorshenko/magento2 that referenced this pull request May 30, 2019
…aypal-express

[honey] MC-15967: Paypal Express Checkout Support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants