Bug #21367 IM tests do not recognize "win2003-amd64" as Windows
Submitted: 31 Jul 2006 18:12 Modified: 3 Aug 2006 18:20
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S7 (Test Cases)
Version:5.0.24 OS:Windows (Windows 2003 x64)
Assigned to: Magnus Blåudd CPU Architecture:Any

[31 Jul 2006 18:12] Joerg Bruehe
Description:
The tests for the instance manager are skipped on Windows -
but only if "include/not_windows.inc" recognizes the current platform to be a Windows platform.

This seems not to work in "win2003-amd64", the "im_*" tests are attempted
and fail only after a 400 sec timeout, telling 
"Instance Manager PID file is missing".

Then, also the subsequent tests of "index_merge*" and "information_schema*" all fail, because their connect fails (bug#19908).

How to repeat:
Build + test on "win2003-amd64".
[1 Aug 2006 7:51] Magnus Blåudd
The im test uses include/im_check_os.inc and that file connects to the instance manager before running the query to determine if it's windows or not.
[1 Aug 2006 8:03] Magnus Blåudd
So this is catch 22. We start IM, so it can be asked if it supports the current platform. :-) And since IM doesn't start, it's hard to ask it.
[1 Aug 2006 9:20] Magnus Blåudd
We should probably modify the test script just to skip all *.imtest on windows until IM is supported.
[1 Aug 2006 9:35] 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/9880

ChangeSet@1.2247, 2006-08-01 11:35:37+02:00, msvensson@neptunus.(none) +1 -0
  Bug#21367 IM tests do not recognize "win2003-amd64" as Windows
   - Disable Instance manager on Windows
[1 Aug 2006 9:44] Magnus Blåudd
Pushed to mysql-5.0-maint
[3 Aug 2006 16:43] Magnus Blåudd
Pushed to 5.0.25
[3 Aug 2006 18:20] Paul DuBois
No changelog entry needed.
[14 Aug 2006 20:42] Konstantin Osipov
Merged into 5.1.12