• unknown's avatar
    In test for bug#15933 we have to wait for all disconnects to finish to avoid · 51a3d366
    unknown authored
    a race between updating and checking Max_used_connections.  This is done in
    a loop until either disconnect finished or timeout expired.  In a latter case
    the test will fail.
    
    
    mysql-test/r/status.result:
      Update result to match changes in test case.
    mysql-test/t/status.test:
      Close extra conections in previous test.
      In test for bug#15933 we have to wait for all disconnects to finish to avoid
      a race between updating and checking Max_used_connections.  This is done in
      a loop until either disconnect finished or timeout expired.  In a latter case
      the test will fail.
      Use con1, con2, con3 instead of con3, con4, con5.
    51a3d366
status.test 3.89 KB