mariadb/mysql-test/lib/My
unknown 8193c32743 BUG#43418: MTR2: does not notice a memory leak occuring at shutdown of
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.
2009-03-20 15:18:22 +01:00
..
File mtr.pl v2 2009-01-24 15:07:57 +01:00
SafeProcess Bug #40399 Please make mtr print stack trace after every failure 2009-01-21 10:34:01 +01:00
Config.pm WL#4350 Options in my.cnf style config file should not start with -- 2008-09-05 15:31:09 +02:00
ConfigFactory.pm Add testing of extra port for pool-of-threads. 2009-03-18 16:46:32 +01:00
CoreDump.pm Bug #40399 Please make mtr print stack trace after every failure 2009-01-21 10:34:01 +01:00
Find.pm Versional testing support 2008-09-20 16:51:31 +03:00
Handles.pm WL4189 Add Handles.pm and use it from My::File::Path to show open handles. Rewrite rmtree to use File::Find so we can get better debug printouts when something fails 2008-10-06 19:51:33 +02:00
Options.pm Add support for running in parallel 2008-04-24 13:02:53 +02:00
Platform.pm Bug#35735 mysql-test-run.pl creates tmpdir for socket path longer than 70 2009-01-21 18:18:03 +01:00
SafeProcess.pm Bug #40399 Please make mtr print stack trace after every failure 2009-01-21 10:34:01 +01:00
SysInfo.pm WL#4189 Set parallel to 1 if running under vmware on windows 2008-10-11 17:30:26 +02:00
Test.pm BUG#43418: MTR2: does not notice a memory leak occuring at shutdown of 2009-03-20 15:18:22 +01:00