msvensson@shellback.(none)
84d455b4f2
Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-17 11:31:56 +02:00
msvensson@shellback.(none)
d45b61b1b5
Remove warnings
...
Set comment properly before calling mtr_report_test failed and report_failure_restart
2006-10-17 10:31:06 +02:00
msvensson@shellback.(none)
947d219d1b
Cleanup mtr_timer
...
Add verbose printouts making it possible to see what happens.
Make it an error if trying to stop a non existing timer
Print warning if fork fails.
2006-10-15 15:38:56 +02:00
msvensson@shellback.(none)
ffc9538bb4
Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-14 19:55:06 +02:00
msvensson@shellback.(none)
88e11706c3
No need to continue in 'mtr_report_test_failed' after timeout detected, return immediately after
2006-10-14 17:14:03 +02:00
msvensson@shellback.(none)
c2574de306
Improve the function that parses test files looking for what features it uses
...
Now also detects "source nnnn;" command, previous version only detected
"--source"
2006-10-13 11:05:46 +02:00
msvensson@shellback.(none)
5741683d12
Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-12 11:30:07 +02:00
msvensson@shellback.(none)
3c66250e84
Fix unhandled exception in mysql-test-run.pl, creating a dir that already exist
2006-10-12 11:29:13 +02:00
msvensson@shellback.(none)
c4db04fc27
Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-11 14:54:36 +02:00
msvensson@shellback.(none)
3e37764216
Improve restart logic all code to detect restart is now in the functions
...
'run_testcase_need_master/slave_restart'
Remove the faulty qw
Only look for mysql_fix_privilege_tables if not windows
2006-10-11 14:50:19 +02:00
msvensson@shellback.(none)
61529f6a58
Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-08 17:48:56 +02:00
msvensson@shellback.(none)
bf762c2d9e
Print names of testcases that failed check_testcase, this makes it easier
...
to run the whole testcase to find wich testcases need to be checked more carefully
and the just "copy and paste" the suspicious test case names to
a new mysql-test-run.pl command.
2006-10-08 17:48:01 +02:00
msvensson@shellback.(none)
ca611ed679
Move list of mysqls src dirs into lib/mtr_gcov.pl as it's only used from there
2006-10-08 17:05:17 +02:00
msvensson@neptunus.(none)
3faa1fcd4f
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-07 19:12:10 +02:00
msvensson@neptunus.(none)
804d2effa2
Improve sort algorithm for reorder, all test with smae name except for ending digit should be run after each other.
...
Example of that is ndb_autodiscover[1-3]
2006-10-07 19:11:37 +02:00
msvensson@neptunus.(none)
098164e601
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-06 17:17:18 +02:00
msvensson@neptunus.(none)
7ba1880369
Add error handling of failure to start server to "run_testcase_start_servers"
2006-10-06 17:15:26 +02:00
msvensson@neptunus.(none)
13ff58d716
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2006-10-06 16:27:57 +02:00
msvensson@neptunus.(none)
738ba624d3
Fix problem with specifying vardir, mysql_version_id was not yet available when vardir arguments is checked
...
Move the code to look for exe_mysqld earlier => to initial_setup
Fix warnings detected by running with "diagnostics"
Remove unused option "opt_result_ext"
Init "path_ndb_examples_dir"
2006-10-06 16:26:17 +02:00
msvensson@neptunus.(none)
af1cf46346
Merge neptunus.(none):/home/msvensson/mysql/same_tools/my41-same_tools
...
into neptunus.(none):/home/msvensson/mysql/same_tools/my50-same_tools
2006-10-06 11:50:04 +02:00
msvensson@neptunus.(none)
a0fd2ad5d4
Only print thesort order debug printout if using script-debug
2006-10-06 11:49:31 +02:00
msvensson@neptunus.(none)
91eb991eae
Merge neptunus.(none):/home/msvensson/mysql/same_tools/my41-same_tools
...
into neptunus.(none):/home/msvensson/mysql/same_tools/my50-same_tools
2006-10-06 11:24:31 +02:00
msvensson@neptunus.(none)
22f1cc58c2
Improve 'run_testcase_need_master_restart' to require restart if master is not already started
...
Improve 'run_testcase_need_slave_restart' to detect if a slave restart really is necessary.
So far all rpl test requires a slave restart, but for all other tests it can be skipped
Improve the sort order used by --reorder
2006-10-06 11:23:19 +02:00
msvensson@neptunus.(none)
7fb9bac13a
Merge neptunus.(none):/home/msvensson/mysql/same_tools/my41-same_tools
...
into neptunus.(none):/home/msvensson/mysql/same_tools/my50-same_tools
2006-10-05 22:06:51 +02:00
msvensson@neptunus.(none)
76c63e716f
Open input file with "<" not ">>"
2006-10-05 22:06:29 +02:00
msvensson@neptunus.(none)
6b15f7680a
Merge neptunus.(none):/home/msvensson/mysql/same_tools/my41-same_tools
...
into neptunus.(none):/home/msvensson/mysql/same_tools/my50-same_tools
2006-10-04 16:30:56 +02:00
msvensson@shellback.(none)
3db774af45
Backport from 5.1
...
-Add support for detecting version and features from mysqld binary
- Autodetect netware
- Disable some features not available below 5.0
- Cleanup executable_setup to look for one executable at a time, only llok for the ones that are needed based on the selected testcases and settings
2006-10-04 12:47:32 +02:00
msvensson@neptunus.(none)
d253cf7813
Fix problem where mysql-test-run.pl fails to start up the mysqld after a failed test. Shows up on win hosts where one failed test case make subsequent ones fails with error "Could not open connection 'default': 2003 Can't connect to MySQL server on 'localhost'"
2006-09-04 11:30:04 +02:00
cmiller@maint1.mysql.com
d6f2659239
Merge maint1.mysql.com:/data/localhome/cmiller/mtr_reorder/my50-mtr_reorder
...
into maint1.mysql.com:/data/localhome/cmiller/mysql-5.0-maint
2006-09-01 21:56:27 +02:00
cmiller@maint1.mysql.com
46b3997c51
mtr_cases.pl:
...
Provide a more extensible, easier-to-change way of reordering
test cases.
2006-09-01 21:53:23 +02:00
kostja@bodhi.local
f8d34e1030
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into bodhi.local:/opt/local/work/mysql-5.0-14897
2006-08-30 00:45:33 +04:00
anozdrin/alik@alik.
1a7cb4153c
Preliminary patch for the following bugs:
...
- BUG#15934: Instance manager fails to work;
- BUG#18020: IM connect problem;
- BUG#18027: IM: Server_ID differs;
- BUG#18033: IM: Server_ID not reported;
- BUG#21331: Instance Manager: Connect problems in tests;
The only test suite has been changed
(server codebase has not been modified).
2006-08-29 15:46:40 +04:00
msvensson@neptunus.(none)
f0c4aba723
Backport from 5.0 a fix that will start ndb only for tests that needs it
2006-08-25 15:17:03 +02:00
msvensson@neptunus.(none)
37be9fa3a7
Backport fix for finding executables from 5.0
2006-08-25 10:11:15 +02:00
reggie@big_geek.
55165b2f55
small fix to enable the test suite to find executables and scripts on Windows
2006-08-16 10:19:48 -05:00
igreenhoe@mysql.com
d2e8235372
Merge igreenhoe@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
...
into mysql.com:/home/greenman/workspace-mysql/mysql/pending/bug-5.0-18979
2006-06-28 08:36:01 -07:00
anozdrin@mysql.com
a142a4d97b
Small fix for test suite:
...
- fix for IM stopping routine;
- polishing.
2006-06-19 14:15:26 +04:00
konstantin@mysql.com
85c6883146
Merge mysql.com:/opt/local/work/mysql-5.0-root
...
into mysql.com:/opt/local/work/mysql-5.0-runtime-merge
2006-05-15 00:51:12 +04:00
anozdrin@mysql.com
3b74668bfa
Partial fix for BUG#14106: IM: im_life_cycle and im_utils
...
tests fail on FreeBSD.
The patch contains of the following:
- make Instance Manager, running in the daemon mode, dump
the pid of angel-process in the special file;
- default value of angel-pid-file-name is 'mysqlmanager.angel.pid';
- if ordinary (IM) pid-file-name is specified in the configuration,
angel-pid-file-name is updated according to the following
rule: extension of the basename of pid-file-name is replaced by
'.angel.pid.
For example:
- pid-file-name: /tmp/im.pid
=> angel-pid-file-name: /tmp/im.angel.pid
- pid-file-name: /tmp/im.txt
=> angel-pid-file-name: /tmp/im.angel.pid
- pid-file-name: /tmp/5.0/im
=> angel-pid-file-name: /tmp/5.0/im.angel.pid
- add support for configuration option to customize angel
pid file name;
- fix test suite to use angel pid to kill Instance Manager
by all means if something went wrong.
Background
----------
The problem is that on some OSes (FreeBSD for one) Instance
Manager does not get SIGTERM, so can not shutdown gracefully.
Test suite wasn't able to cope with it, so this leads to the
mess in test results.
The problem should be split into two:
- fix signal handling;
- fix test suite.
This patch fixes test suite so that it will be able to kill
uncooperative Instance Manager. In order to achieve this,
test suite needs to know PID of IM Angel process.
2006-05-06 13:57:56 +04:00
monty@mysql.com
9e460e7a25
Fixed wrong free in sql_view.cc
...
mysql-test-run now fails in case of warnings
2006-05-04 22:19:31 +03:00
msvensson@shellback.(none)
6aa775f348
Return empty string if file does not exist
...
Set LD_LIBRARY_PATH and UDF_EXAMPLE_LIB from $lib_udf_example
2006-04-27 21:26:24 +02:00
msvensson@shellback.(none)
0e5113aead
Add test to mysql-test-run.pl to see if the udf_example.so is availble. Set envioronment variable UDF_EXAMPLE_LIB if it is.
...
Then check in have_udf if that variable is set. Finally use tahe variable when loading the shared library.
2006-04-27 16:32:40 +02:00
msvensson@neptunus.(none)
0e08e39763
Change sleep_until_file_created to sleep 100 millisecond instead of sleeping 1 seconds between each iteration.
2006-04-26 13:22:18 +02:00
msvensson@neptunus.(none)
7e3593def8
Bug#19084 ./mysql-test-run.pl do not print bootstrap run info
...
- Log boostratp/install to var/log/boostrap.log
- Log output from mysqladmin to var/log/mysqladmin.log
- Remove old manager references
2006-04-24 11:26:41 +02:00
msvensson@neptunus.(none)
cb69ff25da
Move copy_dir to mtr_misc and rename it to mtr_copy_dir
2006-04-24 10:27:13 +02:00
msvensson@neptunus.(none)
1f2ac2195a
Remove 5 second sleep for win32
2006-04-24 10:22:26 +02:00
igreenhoe@mysql.com
5f43b8609a
Fix for bug #18979 , bad RE in mysql-test-run.pl
2006-04-17 19:43:19 -07:00
joerg@mysql.com
df09a0cedc
Manual merge.
2006-04-07 13:16:40 +02:00
joerg@mysql.com
7e4d41de58
Perl test script: Avoid some aborts, which made the whole build/test process terminate.
2006-04-07 13:02:15 +02:00
msvensson@shellback.(none)
8f1ed3c463
Dump result to .log file at test failure
2006-03-23 21:48:31 +01:00