Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • E ensembl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ensembl-gh-mirror
  • ensembl
  • Merge requests
  • !357

Bugfix / DBD::mysql version restriction in release/95

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Marek Szuba requested to merge bugfix/dbdmysql_version_e95 into release/95 Jan 10, 2019
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: mkszuba

Description

A so far unidentified change made in version 4.050 causes dbConnection.t tests checking if database ping returns an undef with disconnect_when_inactive(1) to fail. Prevent installation of that (or newer) version of DBD::mysql until we have had a chance to debug the issue. Yes, this is very much a stopgap measure.

Use case

Both Travis and users who rely on our cpanfiles to install DBD::mysql currently end up with a version which fails tests, and possibly does not in fact disconnect from the database when inactive.

Benefits

DBD::mysql-4.050 is brand-new so for the time being, having this restriction in place should keep things chugging along until we have actually fixed this.

Possible Drawbacks

Will likely fail spectacularly once new versions od DBD::mysql have made it into distros and so on. Merely bypasses the issue rather than fixing it.

Testing

Have you added/modified unit tests to test the changes? no

If so, do the tests pass/fail? N/A

Have you run the entire test suite and no regression was detected? Have run dbConnection.t before and after the change. The three ping() failures go away, no new ones appear.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bugfix/dbdmysql_version_e95