Bjorn Munch
117237a62e
Bug #58608 mysqltestrun --help incongruences
...
Fixed some errors
Added note about 'no' prefix to options
See also follow-up comment to bug report
2010-12-09 14:40:36 +01:00
Bjorn Munch
891593e42e
merge 58424
2010-11-24 13:51:45 +01:00
Bjorn Munch
e1fa8cb9bb
Bug #58424 mtr ignores failing mysqltest in the presence of expect file for mysqld
...
If mysqltest dies, mtr waits to see if mysqld dies too within 100ms
But in that case, it should not care about expected crash
Fix: jump past the code that checks the expect file
2010-11-24 10:22:03 +01:00
Bjorn Munch
f2b4622346
Bug #43418 MTR2: does not notice a memory leak occuring at shutdown of mysqld w/ --valgrind
...
Follow-up discussed with Reporter:
Avoid hard shutdown after test failure, if caused by server log warning
AND we are running valgrind
More general pick-up of valgrind summaries, order may apparently vary
Do exit(1) if we did find valgrind summary warnings
2010-11-23 14:34:00 +01:00
Bjorn Munch
0527d492cc
Bug #57840 MTR: parallel execution breaks with smart ordering of test cases
...
There were actually more problems in this area:
Slaves (if any) were unconditionally restarted, this appears unnecessary.
Sort criteria were suboptimal, included the test name.
Added logic to "reserve" a sequence of tests with same config for one thread
Got rid of sort_criteria hash, put it into the test case itself
Adds little sanity check that expected worker picks up test
Fixed some tests that may fail if starting on running server
Some of these fail only if *same* test is repeated.
Finally, special sorting of tests that do --force-restart
2010-11-05 15:26:38 +01:00
Bjorn Munch
5c42b3c9ed
Bug #56654 pb2 log is very hard to read
...
Added some more info in a number of fail cases
(re-commit for administrative reasons)
2010-10-19 14:01:14 +02:00
Bjorn Munch
87234b74ca
Bug #52828 Tests that use perl fail when perl is not in path
...
Trying to run perl fails, just like it does when perl is started but fails
Trap the case that perl was not found/could not be started, and skip test
Also force a restart of servers since test may already have done something
mtr now also appends path of current perl to PATH to aid mysqltest
2010-09-30 12:42:37 +02:00
Bjorn Munch
f643d1b6d3
Bug #56125 MTR2 start-and-exit removes server tmpdir, server becomes not operational
...
This happens when creating new tmpdir due to too long socket path
Don't delete it if --start-and-exit, but warn user to do it.
2010-09-28 15:58:01 +02:00
Bjorn Munch
e59b1980e6
Bug #56383 provide option to restart mysqld after each mtr test
...
Added --force-restart
2010-08-31 11:27:57 +02:00
Bjorn Munch
fd9b6b8e07
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
992f49c0c4
merge from 5.1
2010-08-04 12:19:51 +02:00
Bjorn Munch
01e6820115
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
56a1917b71
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
2994f8b7f1
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
0b0c18a09c
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
6eb0165b25
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
0f8d12ab44
merge 54364
2010-06-15 11:30:44 +02:00
Bjorn Munch
1c8d67072e
merge 53949
2010-06-15 11:21:28 +02:00
Bjorn Munch
4316bf37f0
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
b27f1478d9
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
84a27302a1
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ä
1c1dea62fb
Add innodb_plugin to mysql-test-run default suites.
2010-06-03 12:45:34 +03:00
Horst.Hunger
fc1928c8b4
Patch for bug#52913 including all review results and changes of date format.
2010-06-03 10:31:26 +02:00
Bjorn Munch
bd20de0136
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
4d5c86fb27
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
db1f4e0bf9
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
5aa74ebab9
merge 31602
2010-02-11 14:00:34 +01:00
Bjorn Munch
445596a12c
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
aed6da87c8
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
cf72d8679a
merge 49210
2010-01-28 15:19:18 +01:00
Bjorn Munch
efd5ecb0e0
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
bcc97357f1
fix LD_LIBRARY_PATH (bug#50540)
2010-01-22 14:12:17 +01:00
Bjorn Munch
be128c547f
backport some changes from WL 4378
2010-01-07 13:17:54 +01:00
Bjorn Munch
fcb43b2956
merge 49345
2010-01-06 09:54:43 +01:00
Bjorn Munch
dc3a76b2da
merge 49672
2010-01-06 09:52:55 +01:00
Bjorn Munch
1ae30d113d
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
eec8deed8b
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
b82642966b
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
15d5390010
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
4deb53a56d
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
8e04f4c73c
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
db1b1160dd
merge 48808
2009-11-19 10:19:18 +01:00
Bjorn Munch
964a6ebaac
merge 48806
2009-11-19 10:17:56 +01:00
Bjorn Munch
1cc0f036d6
merge 35543
2009-11-19 10:14:25 +01:00
Bjorn Munch
91bb19f44e
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
9d69adc9d6
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
54bdfab91e
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
2b0be38266
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
6edaebbf57
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
59940cdcd2
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