~maria-captains/maria/5.2

Viewing all changes in revision 3148.

  • Committer: Vladislav Vaintroub
  • Date: 2012-05-08 10:38:22 UTC
  • Revision ID: wlad@montyprogram.com-20120508103822-jnnr89j81fqy4yl5
MDEV-262 : log_state occationally fails in buildbot. 

The failures are  missing entries in the slow query log.  The reason for the failure  are sleep() calls  with short duration 10ms, which is less than the default system timer resolution for various WaitForXXXObject functions  (15.6 ms) and thus can't work reliably.
The fix is to make sleeps tiny bit longer (20ms from 10ms) in the test.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: