Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-132

5.5 mysqldump.test fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.20
    • Component/s: None
    • Labels:
      None

      Description

      mysqldump.test fails on few builders.
      The new test, added for a bug 12809202, is fundamentally flawed.
      It assumes that, when running program 2>&1, lines printed to stderr and stdout, appear in the same order in which they were printed. But as the output is buffered (stdout, at least), this is not the case.

      Possible fixed:

      • remove the offending test case
      • rewrite it to be correct
      • fix mysqldump.c to not buffer stdout (the least desirable solution - fixing a perfectly correct program to satisfy invalid test case assumptions)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              knielsen Kristian Nielsen
              Reporter:
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: