Bug #36873 wait_timeout_func.test fails randomly
Submitted: 22 May 2008 6:09 Modified: 8 Dec 2008 13:06
Reporter: Konstantin Osipov (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:6.0 OS:Any
Assigned to: Horst Hunger CPU Architecture:Any
Tags: test

[22 May 2008 6:09] Konstantin Osipov
Description:
wait_timeout_test.func test fails randomly with the following symptoms: 
main.wait_timeout_func         [ fail ]

mysqltest: At line 102: query 'SELECT * from t1' succeeded - should have failed with errno 2006...

How to repeat:
https://intranet.mysql.com/secure/pushbuild/test-stats.pl
https://intranet.mysql.com/secure/pushbuild/getlog.pl?dir=mysql-6.0-runtime&entry=kosipov@...

Suggested fix:
Fix the races in the test, it's full of sleeps.
[28 Aug 2008 17:16] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/52868

2730 Horst Hunger	2008-08-28
      Fix for bug#36873: Simplified the test and replaced all sleeps by polling.
[11 Sep 2008 15:53] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/53840

2736 Horst Hunger	2008-09-11
      Changes made as result of the 1. review for Bug#36873.
[11 Sep 2008 18:19] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/53851

2737 Horst Hunger	2008-09-11
      Change due to review of bug#36873. Made test independent of presetting.
[18 Sep 2008 7:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/54265

2738 Horst Hunger	2008-09-16
      Fix for bug#36873: Modified due to review results.
[21 Nov 2008 14:36] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/59539

2716 Horst Hunger	2008-11-21
      Fix for bug#36873 containing the review results.
[8 Dec 2008 10:19] Bugs System
Pushed into 5.1.31  (revid:horst@mysql.com-20081121143613-gztd70n5wdpif1to) (version source revid:patrick.crews@sun.com-20081126180318-v685u61mpgoc176x) (pib:5)
[8 Dec 2008 11:30] Bugs System
Pushed into 6.0.9-alpha  (revid:horst@mysql.com-20081121143613-gztd70n5wdpif1to) (version source revid:ingo.struewing@sun.com-20081121182449-9xqrwmchi5e5egg6) (pib:5)
[8 Dec 2008 13:06] Paul DuBois
Test case changes. No changelog entry needed.
[19 Jan 2009 11:21] Bugs System
Pushed into 5.1.31-ndb-6.2.17 (revid:tomas.ulin@sun.com-20090119095303-uwwvxiibtr38djii) (version source revid:tomas.ulin@sun.com-20090108105244-8opp3i85jw0uj5ib) (merge vers: 5.1.31-ndb-6.2.17) (pib:6)
[19 Jan 2009 12:59] Bugs System
Pushed into 5.1.31-ndb-6.3.21 (revid:tomas.ulin@sun.com-20090119104956-guxz190n2kh31fxl) (version source revid:tomas.ulin@sun.com-20090119104956-guxz190n2kh31fxl) (merge vers: 5.1.31-ndb-6.3.21) (pib:6)
[19 Jan 2009 16:05] Bugs System
Pushed into 5.1.31-ndb-6.4.1 (revid:tomas.ulin@sun.com-20090119144033-4aylstx5czzz88i5) (version source revid:tomas.ulin@sun.com-20090119144033-4aylstx5czzz88i5) (merge vers: 5.1.31-ndb-6.4.1) (pib:6)