Skip to content

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

@tkn98

Description

@tkn98

The methods:

  1. Magento\TestFramework\Db\Mysql::storeDbDump()
  2. Magento\TestFramework\Db\Mysql::restoreFromDbDump()

(and perhaps others) are creating mysql / mysqldump commands to be invoked via shell. They make use of the --host command-line switch without adressing a potential (optional) port configuration (--port=#).

The configuration format is:

host[:port]

As the configuration data is taken over unchanged, every configuration with a port given makes these CLI commands fail then.

This flaw blocks users with mysql port configuration making use of the test-suite.

Reference: #2735 #2736

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions