• Vladislav Vaintroub's avatar
    MDEV-262 : log_state occationally fails in buildbot. · 54534a69
    Vladislav Vaintroub authored
    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.
    54534a69
log_state.test 13.1 KB