summaryrefslogtreecommitdiff
path: root/mysql-test/include/wait_until_disconnected.inc
Commit message (Collapse)AuthorAgeFilesLines
* CC 3.1 updateGeorg Richter2022-07-291-1/+1
| | | | | | | | | Test fixes: Since fix for CONC-603 (wrong error handling in TLS read/write) in case of a read/write error client doesn't return always error 2013 (server has gone away), so in addition we need to check for error 2026 (TLS/SSL error) and 5014 (write error).
* dissapear -> disappearSergei Golubchik2021-07-261-1/+1
|
* fix many rpl test failuresSergei Golubchik2016-09-151-4/+1
| | | | | * wait_until_connected_again.inc should expect ER_CONNECTION_KILLED now * also fix MySQL BUG#36228
* Fixed compiler and test failures found by buildbotMichael Widenius2012-01-081-1/+1
| | | | | | | | | | | | | | | | configure.in: Added testing of STRNDUP (not found on solaris) mysql-test/include/wait_until_connected_again.inc: Also test for error 2005 (can happen on windows) mysql-test/include/wait_until_disconnected.inc: Also test for error 2005 (can happen on windows) mysql-test/suite/innodb_plugin/r/innodb_bug30423.result: Number of rows is not stable (found difference on Solaris) mysql-test/suite/innodb_plugin/t/innodb_bug30423.test: Number of rows is not stable (found difference on Solaris) plugin/auth_pam/auth_pam.c: Use internal strndup if it doesn't exist on system (solaris) Changed code so that it should also compile on solaris.
* Merge with mysql-maria treeMichael Widenius2009-02-191-3/+6
|\ | | | | | | | | | | | | | | mysql-test/t/variables.test: Reset delay_key_write, otherwise maria.maria test may fail sql/set_var.cc: Reset ha_open_options if one resets the delay_key_write variable. Before there was no way to reset it without restarting mysqld, which caused some tests to fail
| * merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow.Guilhem Bichot2009-02-121-9/+9
| |\ | | | | | | | | | | | | | | | | | | | | | | | | There were so many changes into mtr (this is the new mtr coming) that I rather copied mtr from 6.0-main here (at least this one knows how to run Maria tests). I also fixed suite/maria tests to be accepted by the new mtr. mysys/thr_mutex.c: adding DBUG_PRINT here, so that we can locate where the warning is issued.
* | \ Merge with base MySQL 5.1Michael Widenius2009-02-151-3/+2
|\ \ \ | |/ / |/| / | |/ | | | | | | | | Contains fixes for test cases Changed release tag to beta configure.in: change release tag to beta
| * Bug #40704 main.events_restart fails sporadically in pushbuild: "server ↵Magnus Svensson2008-12-191-1/+1
| | | | | | | | | | | | | | has gone away" mysql-test/include/wait_until_disconnected.inc: Allow 2013 as an expected error code
| * Bug#40636 falcon_bug_28095 test fails with "Server failed to restart"Magnus Svensson2008-12-101-1/+1
| | | | | | | | | | mysql-test/include/wait_until_disconnected.inc: Change the default value for $mysql_errno so that the loops is run at least once
| * Fix for main.events_restartunknown2008-04-201-1/+1
| | | | | | | | | | | | | | mysql-test/include/wait_until_connected_again.inc: added new errno 1053 mysql-test/include/wait_until_disconnected.inc: added new errno 1053
| * Mereg events_restart_phase* to events_restartunknown2008-04-091-0/+21
| | | | | | | | | | | | | | | | | | | | | BitKeeper/deleted/.del-events_restart_phase2.test: Delete: mysql-test/t/events_restart_phase2.test BitKeeper/deleted/.del-events_restart_phase2-master.opt: Delete: mysql-test/t/events_restart_phase2-master.opt BitKeeper/deleted/.del-events_restart_phase3.test: Delete: mysql-test/t/events_restart_phase3.test BitKeeper/deleted/.del-events_restart_phase3-master.opt: Delete: mysql-test/t/events_restart_phase3-master.opt BitKeeper/deleted/.del-events_restart_phase2.result: Delete: mysql-test/r/events_restart_phase2.result BitKeeper/deleted/.del-events_restart_phase3.result: Delete: mysql-test/r/events_restart_phase3.result mysql-test/include/restart_mysqld.inc: New BitKeeper file ``mysql-test/include/restart_mysqld.inc'' mysql-test/include/wait_until_disconnected.inc: New BitKeeper file ``mysql-test/include/wait_until_disconnected.inc'' mysql-test/t/events_restart-master.opt: New BitKeeper file ``mysql-test/t/events_restart-master.opt''
* Fix for BUG#41102 "Maria: maria-no-logging.test fails randomly on Win64"Guilhem Bichot2008-12-051-0/+24
mysql-test/include/maria_empty_logs.inc: move mysqladmin call to include file for reusal (so that others don't have to hit the same bug in their tests); this include file additionally waits for disconnection. Reasons for BUG#41102: - in maria-no-logging.test, we shut down mysqld in maria_empty_logs.inc, remove logs, tell mtr that it can restart mysqld, then wait for being connected (wait_until_connected_again.inc), then send commands to new mysqld. - but under Windows "mysqladmin shutdown" does not wait for mysqld to be down, so we accidentally removed logs while it was shutting down, wait_until_connected_again found that we were connected (because it was shutting down slowly, connections were not yet broken), sent new commands, and one of them failed because mysqld finally closed connections. - the fix is to just wait for disconnection after shutdown. - in a sense, the catch is the "again" in wait_until_connected_again.inc... mysql-test/include/mysqladmin_shutdown.inc: shutdown with mysqladmin AND waiting for shutdown to complete (needed on Windows) mysql-test/include/wait_until_connected_again.inc: comment mysql-test/include/wait_until_disconnected.inc: script which waits until connection is lost