Bug #48016 rpl_semi_sync.test is skipped for platforms that support plugin on PB2
Submitted: 13 Oct 2009 5:33 Modified: 30 Oct 2009 7:05
Reporter: Zhenxing He Email Updates:
Status: Closed Impact on me:
None 
Category:Tests: Replication Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: Zhenxing He CPU Architecture:Any
Tags: rpl, semi_sync, test

[13 Oct 2009 5:33] Zhenxing He
Description:
The test case rpl_semi_sync.test is skipped on PB2 for most platforms that support plugins. The reason is that the plugin-dir for semisync plugins is not correctly set and cause the test case to be skipped because it cannot find the semisync plugins.

How to repeat:
Check PB2 mysql-pe or mysql-6.0-codebase-bugfixing branches, on platforms that support semisync plugins such as Linux, the test case rpl_semi_sync is also skipped with 'Need semisync plugins'.

Suggested fix:
Currently mysql-test-run.pl only checks '$basedir/plugin/semisync/.libs/' for semisync plugins, it should also checks '$basedir/lib/mysql/plugin/'.
[13 Oct 2009 7:48] 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/86650

3650 He Zhenxing	2009-10-13
      BUG#48016 rpl_semi_sync.test is skipped for platforms that support plugin on PB2
      
      Test rpl_semi_sync was skipped due to incorrect setting of plugin-dir,
      Currently mysql-test-run.pl only checks '$basedir/plugin/semisync/.libs/'
      for semisync plugins, it should also checks '$basedir/lib/mysql/plugin/'.
     @ mysql-test/mysql-test-run.pl
        Check '$basedir/lib/mysql/plugin/' for semisync plugins