[MDEV-132] 5.5 mysqldump.test fails Created: 2012-02-01  Updated: 2012-02-10  Resolved: 2012-02-10

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.5.20

Type: Bug Priority: Critical
Reporter: Sergei Golubchik Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-31 make buildbot green for 5.5 Closed

 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)


 Comments   
Comment by Kristian Nielsen [ 2012-02-09 ]

I'll rewrite the test to be correct.

Comment by Kristian Nielsen [ 2012-02-10 ]

Fixed by "rewrite it to be correct"

Generated at Thu Feb 08 06:26:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.