Bug #15440 Timeout in "embedded" test run of "handler"
Submitted: 2 Dec 2005 15:24 Modified: 30 Aug 2006 19:56
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:4.1.16 OS:Any (all)
Assigned to: Alexey Botchkov CPU Architecture:Any
Tags: handler, libmysqld, test suite

[2 Dec 2005 15:24] Joerg Bruehe
Description:
Build of 4.1.16.

Test "handler" runs into timeout when being done "embedded",
this happens on all platforms.

The only info available is this:
=== cut ===
handler                        [ fail ]  timeout

Errors are (from PATH/mysqltest-time) :

(the last lines may be the most important ones)
=== cut ===

Note that this happens when using the Perl test suite script, which does timeout detection.

How to repeat:
Build "embedded" and test it.
[25 Jul 2006 12:40] 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/9535
[7 Aug 2006 7:49] Alexander Barkov
Looks ok to push.

Consider adding a comment in the top of handler.test,
explaining why it's disabled for embedded server.

Something like (from your commit):

# mysqltest can't handle multiple connections in the
# embedded server properly. So i disabled the test for the embedded mode
# until mysqltest is fixed

or (from kill.test)

# This test doesn't work with the embedded version as this code
# assumes that one query is running while we are doing queries on
# a second connection.
# This would work if mysqltest run would be threaded and handle each
# connection in a separate thread.
[18 Aug 2006 22:50] Jim Winstead
Okay to push, with an additional comment as Bar suggested.
[30 Aug 2006 13:06] Reggie Burnett
the previous push to 5.0 was to team tree.  I have pushed it to 5.0.25 main tree just now.  It is not yet merged to 5.1
[30 Aug 2006 19:56] Paul DuBois
Test case change only. No changelog entry needed.
[12 Sep 2006 14:28] Reggie Burnett
pushed to 5.1.12