• Marc Alff's avatar
    Bug#56618 Thread_ID is not assigned in ascending sequence (after disconnect) · ea35bf7a
    Marc Alff authored
    Before this fix, the test thread_cache failed with spurious failures.
    
    The test used:
    -- disconnect X
    -- connect Y
    
    while assuming that connection Y would reuse connection X slot in the thread cache.
    
    For this to happen, the disconnect X operation must be given enough time to complete,
    otherwise connect Y can be executed in the server before X actually finishes.
    
    This fix uses wait conditions to make the test execution more controlled,
    and more reproductible.
    ea35bf7a
thread_cache.result 875 Bytes