Bjorn Munch
93b8156365
Bug #55178 Set timeout on test-to-test-basis
...
Allow --testcase-timeout=<mins> to be set in .opt file for test
2010-08-30 11:25:10 +02:00
Bjorn Munch
f3f5e04a36
merge from 5.1
2010-08-04 12:19:51 +02:00
Bjorn Munch
f3d4e72cf1
Bug #55597 MTR: Restart the server, from within the test case, with new CLI options.
...
The expect file can now include "restart:<server options>"
Also drop check-testcase if this has been done
Added comment explaining the restart: syntax
2010-08-02 12:43:28 +02:00
Bjorn Munch
cf5b700bac
Bug #55597 MTR: Restart the server, from within the test case, with new CLI options.
...
The expect file can now include "restart:<server options>"
Also drop check-testcase if this has been done
2010-07-28 12:24:38 +02:00
Bjorn Munch
50cdef087d
Bug #55503 MTR fails to filter LEAK SUMMARY from valgrind report of restarted servers
...
Was not covered by "skip" pattern
Replace with a more generic pattern for SUMMARY
2010-07-23 14:53:09 +02:00
Vasil Dimov
f219357a09
Merge mysql-5.1-innodb -> mysql-5.1-security
...
Merge up to sunny.bains@oracle.com-20100625081841-ppulnkjk1qlazh82 .
There are 8 more changesets in mysql-5.1-innodb, but PB2 shows a
failure for a test added in one of them. If that is resolved quickly
then those 8 more changesets will be merged too.
2010-07-04 10:12:44 +03:00
Bjorn Munch
9edbfe0f4c
Bug #54364 Allow multiple --experimental command line options for MTR
...
Bummer: MTR fails if a test fails and no --experimental is used
$experimental_test_cases must be intialized
2010-06-15 13:37:53 +02:00
Bjorn Munch
33795a70dc
merge 54364
2010-06-15 11:30:44 +02:00
Bjorn Munch
cb3768cdf6
merge 53949
2010-06-15 11:21:28 +02:00
Bjorn Munch
070064f2d4
Bug #52321 mtr test suite paths need to be updated
...
Use $suitedir instead of $basedir to find suites
Add 'testdir' to ConfigFactory
2010-06-15 11:16:38 +02:00
Bjorn Munch
c9d57b0c0f
Bug #54364 Allow multiple --experimental command line options for MTR
...
Convert --experimental into a multi option
Size of diff is caused by intenting code put into a for loop
2010-06-10 10:34:16 +02:00
Bjorn Munch
30e69ec03b
Bug #53949 Allow MTR2 to start server without hardcoded command-line options
...
Added option --user-args, to be used with --start*
Only keeps --defaults-file and --defaults-group-suffix
Also added missing help text entry for --start-and-exit
2010-06-09 10:21:46 +02:00
Marko Mäkelä
dbafe6be28
Add innodb_plugin to mysql-test-run default suites.
2010-06-03 12:45:34 +03:00
Horst.Hunger
5c6a9a5f6f
Patch for bug#52913 including all review results and changes of date format.
2010-06-03 10:31:26 +02:00
Bjorn Munch
eb235387ae
Bug #51767 Implement --start-and-exit also for MTR v2
...
Added option and logic, bypass safe_process
Adapted after review comments
2010-03-16 10:45:32 +01:00
Bjorn Munch
90c3ace052
Bug #51135 Please increase the maximum number of connections allowed in mysqltest
...
Added --max-connections= argument to mysqltest and mtr
Small fix to first patch: forgot to check before free'ing connections array
2010-02-17 16:28:02 +01:00
Bjorn Munch
5b7306e259
Bug #44054 MTR2: --no-reorder does not prevent reordering
...
Some logic would group by suite always
Disable this if using --noreorder
Also fix getting array from collect_one_suite() in this case
Amended according to previous comment
2010-02-17 12:37:37 +01:00
Bjorn Munch
f43a686e3f
merge 31602
2010-02-11 14:00:34 +01:00
Bjorn Munch
2c026bdba0
Bug #47389 Innodb tests are skipped when running as unix root user
...
Add --user=root to collect_mysqld_features() if running as root
Please disregard previous commit; this is much simpler.
2010-02-11 11:22:07 +01:00
Bjorn Munch
95fde81032
Bug #31602 mysql-test-run.pl seems to have problems with file names including spaces.
...
Too complex/risky to try to fix
Instead, detect the problem and communicate that this is not supported
2010-02-03 15:11:52 +01:00
Bjorn Munch
235e7b8f11
merge 49210
2010-01-28 15:19:18 +01:00
Bjorn Munch
b13ed2975d
Bug #49210 Enable MTR timeout configuration through environment variables
...
Define env. vars for both timeout settings
This patch is for 5.0 (mtr v1) and should replaces for 5.1 up
2010-01-27 15:21:41 +01:00
Bjorn Munch
e8a05b4140
Bug #50182 mtr: allow $MTR_PORT_BASE or --port-base= as alternative to MTR_BUILD_THREAD
...
As suggested, convert internally to value of build_thread
2010-01-25 11:20:52 +01:00
Bernd Ocklin
e371d96a78
fix LD_LIBRARY_PATH (bug#50540)
2010-01-22 14:12:17 +01:00
Bjorn Munch
9ada265d39
backport some changes from WL 4378
2010-01-07 13:17:54 +01:00
Bjorn Munch
90b24e992e
merge 49345
2010-01-06 09:54:43 +01:00
Bjorn Munch
d3c57be834
merge 49672
2010-01-06 09:52:55 +01:00
Bjorn Munch
ce019a2fac
Bug #49345 re-introduce gprof to mysql-test-run.pl
...
Was available in v1
Porting to v2 required some rewriting
Updated after review comments
2010-01-05 21:35:50 +01:00
Bjorn Munch
4d8b228c8d
Bug #49166 mtr --combination is broken after restrictions of combination names
...
Combinations beginning with -- not allowed
Allow them...
2010-01-05 13:31:38 +01:00
Bjorn Munch
2fc4fbfd6b
Bug #49672 mtr should extract end of result log if mysqltest fails without output
...
Extracts last 20 lines if no output after failure
2009-12-15 10:12:24 +01:00
Bjorn Munch
50ab925e04
Bug #48918 MTR uses an un-initialized value in comparison
...
mysqld->{proc} not defined for an embedded server
Check only if {proc} defined
2009-11-26 11:34:16 +01:00
Bjorn Munch
22d80703ef
Bug #49096 mtr: --mem option should be ignored on Windows
...
Ignored w/message in v1 and v2
2009-11-26 11:23:30 +01:00
Bjorn Munch
e1fbb32e76
Bug #47978 timer : expired after 90 seconds
...
Problems occur after killing threads on Windows
Get rid of the timeout threads, implement simple timer in wait_any_timeout()
2009-11-24 09:12:48 +01:00
Bjorn Munch
a9fd7242b5
merge 48808
2009-11-19 10:19:18 +01:00
Bjorn Munch
f84625778c
merge 48806
2009-11-19 10:17:56 +01:00
Bjorn Munch
d97cc562fc
merge 35543
2009-11-19 10:14:25 +01:00
Bjorn Munch
ea4618e1d1
Bug #35543 mysqlbinlog.cc does not properly work with tmp files
...
mtr patch ported to v2
2009-11-19 10:10:21 +01:00
Bjorn Munch
9ea158edf0
Bug #48367 MTR should react to server dying, rather than to resulting failure of mysqltest
...
For some reason it usually picks up mysqltest
Wait .1s and then see if a server has died
Change from first commit: label on separate line
2009-11-19 09:58:50 +01:00
Bjorn Munch
eb2ad909d4
Bug #48808 mysql-test-run.pl --debugger=devenv does not work
...
Wrong argument order, fixed
2009-11-18 10:27:43 +01:00
Bjorn Munch
242f3f8cdd
Bug #48806 mysql-test-run.pl --help should work even in the absence of binaries
...
Searches for my_safe_process binary too early
Put this into a sub() and call it after examining options (incl. --help)
2009-11-17 12:13:22 +01:00
Bjorn Munch
858d260bd3
Bug #48795 Valgrind summary from tests where server has been restarted cause test failure
...
Seen in a few tests after 43418
Add code in extract_warning_lines() to skip this part
2009-11-16 11:18:16 +01:00
Bjorn Munch
f1b4be2a21
Bug #43418 MTR2: does not notice a memory leak occuring at shutdown of mysqld w/ --valgrind
...
Checking is done before server is terminated
Adds post processing of server logs if --valgrind
Also had to remove --quiet option to valgrind
2009-11-12 11:04:01 +01:00
Bjorn Munch
7bfd110102
merge 48209
2009-11-04 14:44:19 +01:00
Bjorn Munch
c22826bfad
Bug #48240 "Test suite timeout" and "Too many tests failed" is masked from status page
...
Prepend "Completed", "Timeout" or "Too many failed" to summary line
2009-10-26 14:28:51 +01:00
Bjorn Munch
d2d03e923e
Bug #48209 Confusing message "Test has succeeded" after test fails due to warnings
...
There's no need for --verbose for the mysqltest in check-warnings, remove it
2009-10-23 13:04:55 +02:00
Bjorn Munch
0777ef567d
merge 48149
2009-10-20 12:05:28 +02:00
Bjorn Munch
e6bc01d170
Bug #48149 MTR should automatically skip SSL tests if SSL not supported
...
Knowledge of no SSL support is not used
Skip tests the same way e.g. innodb tests are
Does not refer to have_ssl_communication.inc,
will add this when merging to 6.0-codebase
2009-10-19 15:51:47 +02:00
Bjorn Munch
2f36bc160a
merge 48130 and 48133
2009-10-19 15:33:34 +02:00
Bjorn Munch
c6533f9eb3
Bug #48133 MTR should not dump entire history of mysqld log when failing to start server
...
Don't print entire log, but use extract_server_log() introduced by 46007
2009-10-18 13:01:46 +02:00
Bjorn Munch
dcf6aae407
Bug #48130 Expected failures should not count towards max-test-fail
...
Test batches may be terminated too early
Avoid counting exp-fail tests
2009-10-17 18:34:56 +02:00