dep8 test failures

Bug #1566917 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-mysql (Ubuntu)
Fix Released
Undecided
Robie Basak

Bug Description

ruby-mysql fails dep8 tests due to changes in MySQL 5.7.

http://paste.ubuntu.com/15652507/ fixes up the test infrastructure so that the test runner has a database. But the tests themselves need fixing (eg. 0 dates no longer allowed).

Revision history for this message
Robie Basak (racb) wrote :

Current work in progress: http://paste.ubuntu.com/15656543/

This fails because "testuser" cannot log in as the MySQL root user. Is this a bug in MySQL packaging? If not, can we prepare a database in d/tests/test-suite such that testuser can log in?

Robie Basak (racb)
Changed in ruby-mysql (Ubuntu):
status: Triaged → In Progress
assignee: Lars Tangvald (lars-tangvald) → Robie Basak (racb)
Robie Basak (racb)
Changed in ruby-mysql (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby-mysql - 2.9.1-1ubuntu1

---------------
ruby-mysql (2.9.1-1ubuntu1) xenial; urgency=medium

  * FTBFS fixes (LP: #1566917):
    - d/tests/{control,test-suite}: create normal mysql user and use it for the
      test to fix FTBFS, since 5.7 no longer permits empty root password login
      by normal users by default. Run test as root since we need to create the
      mysql user, then drop to normal user with normal-user.sh for the test run
      itself.
    - d/tests/test-suite: use non-strict mode as this is what the tests assume.
      Thanks to Lars Tangvald.
    - d/p/5.7-test-fixes: test changes required for working with 5.7, explained
      in dep3 headers. Thanks to Lars Tangvald.

 -- Robie Basak <email address hidden> Wed, 06 Apr 2016 22:42:55 +0000

Changed in ruby-mysql (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.