Bug #39811 Skipping embedded-server tests throws extraneous errors
Submitted: 2 Oct 2008 14:02 Modified: 16 Feb 2009 11:19
Reporter: Patrick Crews Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: Horst Hunger CPU Architecture:Any
Tags: embedded server, skipped tests, test failure

[2 Oct 2008 14:02] Patrick Crews
Description:
Trying to skip a test when using the embedded server results in extraneous error messages being produced rather than a graceful skip of the test:

This is similar behavior to Bug #39213: Could not find reason for skipping test, but not limited to Windows, and seems isolated to 6.0

Running this command:  
./mtr --embedded-server view_grant

Produces this output:
 mysql-test-run: WARNING: Could not find reason for skipping test in /Users/pcrews/usr/local/bin/data1/work/5129-merge/mysql-6.0-5.1.29-rc/mysql-test/var/log/mysqltest-time
[ skipped ]   Detected by testcase(reason unknown) 

This does NOT happen on 5.1

How to repeat:
Run any test that uses include/not_embedded.inc with mysql-test-run's embedded server option.

./mtr --embedded-server view_grant

Suggested fix:
Ensure that tests skipped with the embedded server exit gracefully as with the other trees.

I'm not sure if this is an issue with mysqltest-embedded, mysql-test-run, etc.