summaryrefslogtreecommitdiff
path: root/mysql-test/lib/My/Test.pm
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF AddressVicențiu Ciorbaru2019-05-111-1/+1
| | | | * Update wrong zip-code
* Merge from 5.3Alexander Barkov2013-09-161-1/+1
|\ | | | | | | | | | | pending merges: Alexander Barkov 2013-09-16 backport from 10.0
| * backport from 10.0Alexander Barkov2013-09-161-1/+1
| | | | | | | | | | | | | | | | mtr can crash occasionally. This happens when mtr sends to a child mtr process (or vice-versa) a packet, that gets truncated or, perhaps, split in two. Then the other side cannot deserialize it and fails as above.
* | merge with mysql-5.5.21Sergei Golubchik2012-03-091-1/+1
|\ \
* | | overlay support for mysql-test-run and mysqltestSergei Golubchik2012-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test-run auto-disables all optional plugins. mysql-test/include/default_client.cnf: no @OPT.plugindir anymore mysql-test/include/default_mysqld.cnf: don't disable plugins manually - mtr can do it better mysql-test/suite/innodb/t/innodb_bug47167.test: mtr now uses suite-dir as an include path mysql-test/suite/innodb/t/innodb_file_format.test: mtr now uses suite-dir as an include path mysql-test/t/partition_binlog.test: this test uses partitions storage/example/mysql-test/mtr/t/source.result: update results. as mysqltest includes the correct overlayed include storage/innobase/handler/ha_innodb.cc: the assert is wrong
* | | small cleanupSergei Golubchik2012-02-071-0/+13
| | |
* | | per-file combinationsSergei Golubchik2012-02-061-2/+2
| | |
* | | 5.3 mergeSergei Golubchik2012-01-131-1/+2
|\ \ \ | | |/ | |/|
| * | Initail merge with MySQL 5.1 (XtraDB still needs to be merged)Michael Widenius2011-11-211-1/+2
| |\ \ | | | | | | | | | | | | Fixed up copyright messages.
| | * | Updated/added copyright headersKent Boortz2011-06-301-1/+2
| | | |
| * | | Merge with MySQL 5.1.57/58Michael Widenius2011-05-021-0/+14
| |\ \ \ | | |/ / | | | | | | | | Moved some BSD string functions from Unireg
* | | | post-merge fixes.Sergei Golubchik2011-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | most tests pass. 5.3 merge is next
* | | | 5.5-mergeSergei Golubchik2011-07-021-1/+33
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | WL #5680 MTR results written to file with well defined formatBjorn Munch2011-05-091-2/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added --result-file option, which will produce var/mtr-results.txt Output has a simple format: <tag> : <value> for general info on test run { <tag> : <value> .... } for each test Output from failed tests are included but may be truncated. See WL for more details.
| * Fixed copyright headers in mtr src filesBjorn Munch2011-01-181-0/+14
| |
* | generalization of mtr to support suite.pm extensions:Sergei Golubchik2010-08-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * no automatic --loose-skip-innodb added by mtr based on the test name. instead loose-skip-innodb is now in the default_mysqld.cnf * have_innodb_plugin.inc is changed to give a verbose "skip" message (instead of "require: true") * My::Suite class. It's support in mtr, and everywhere * support for suite.pm * when sorting tests, take combinations into account * support for SUITENAME_COMBINATIONS * no special treatment for innodb_plugin in mtr_cases.pm * two special pre-created config groups: ENV and OPT * allow option names to start from # * allow magic option to have an argument * remove dead code * fix @-substitution to works as expected * new processes take the value of $opt_verbose automatically, no need to pass it to a constructor * innodb_plugin suite uses suite.pm and combinations file to test as much as possible (innodb plugin, xtradb plugin, xtradb static - whatever available) * besides test-master.opt and test-slave.opt a test.opt file is also loaded, both for master and slave * .opt files for all included files are loaded too * progress report in the xterm titlebar
* | BUG#43418: MTR2: does not notice a memory leak occuring at shutdown ofunknown2009-03-201-65/+10
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysqld w/ --valgrind - Fixed by implementing parsing of error log messages generated outside of test case runs (eg. during server shutdown). Also make mysql-test-run.pl not delete the error log after server restart, which looses information about which warnings were found. Finally, make multi_update2 a --big test. mysql-test/lib/My/Test.pm: Fix home-brewed (and broken) serialization in My::Test to use the standard Storable serializer. mysql-test/mysql-test-run.pl: - Stop mysqld servers gracefully rather than kill -9 when warnings are being checked. - After stopping mysqld servers, do an additional parse of the error log to check for any warnings generated during shutdown. - Fix error log parsing to be careful not to skip parsing part of the file, by keeping track of previous file position rather than relying on mark_log markers. - Workers report warnings during shutdown to the master process with a new packet 'WARNINGS' which includes a list of names of test that might have caused the problem (could be any test run since last server start). - Fail entire test suite if warnings are found. - When we remove the server data dir before server restart, preserve the error log (don't delete it between restarts), as it may contain valuable information even for test cases which don't show direct failures. mysql-test/t/multi_update2.test: Make test --big, as it takes a _long_ time to run and only tests a single bug.
* Bug#40715 mtr fails when running the same test case in parallel threadsMagnus Svensson2008-11-141-3/+4
| | | | | mysql-test/lib/My/Test.pm: Use a more unique key to identify which test has been serialized
* Add support for running in parallelunknown2008-04-241-0/+122
mysql-test/lib/My/Options.pm: Allow $VAR as option mysql-test/lib/My/SafeProcess.pm: Remove printouts mysql-test/lib/My/Test.pm: New BitKeeper file ``mysql-test/lib/My/Test.pm''