Bug #69524 Some tests for table cache variables fail if open files limit is too low
Submitted: 20 Jun 2013 13:34 Modified: 31 Aug 2013 3:23
Reporter: Bjørn Munch Email Updates:
Status: Closed Impact on me:
None 
Category:Tests: Server Severity:S3 (Non-critical)
Version:5.6.12 OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any

[20 Jun 2013 13:34] Bjørn Munch
Description:
As reported in Bug #69419 and also seen when doing a scratch build for Fedora 19, some tests may fail with a wrong result:

sys_vars.table_definition_cache_basic
sys_vars.table_open_cache_basic
table_definition_cache_functionality
table_open_cache_functionality

Filing a separate bug for the test issue.

How to repeat:
Run these tests on a *ix system where the open_files limit (ulimit -n) is 4096 or lower. At least fails on linux.

If open_file_limit >= 4161, the tests pass.

Suggested fix:
Skip the tests if open_files_limit < 5000
[24 Jun 2013 7:59] Bjørn Munch
Will apply the patch contributed for Bug #69419
[31 Aug 2013 3:23] Paul Dubois
Changes for test suite. No changelog entry needed.