202 Commits

Author SHA1 Message Date
Daniel Nichter
7e464dc3f8 Wait 1 minute to start and stop sandboxes. Report how long start/stop took. Clean up code. 2012-08-01 09:40:05 -06:00
Daniel Nichter
d19844b94c Debug when start-sandbox fails. 2012-07-31 17:15:55 -06:00
Daniel Nichter
8b15e2936b Wait longer for sandboxes to start. Dump their info better if they don't. 2012-07-31 16:30:52 -06:00
Daniel Nichter
010617ed65 Check LOAD DATA using Perl. 2012-07-31 15:54:44 -06:00
Daniel Nichter
570b26de20 Remove LOAD DATA check from pt-archiver and pt-upgrade. Make test-env check if LOAD DATA works and PerconaTest export . Rewrite how pt-archiver/t/bulk_insert.t conditionalizes on LOAD DATA working. 2012-07-31 15:37:02 -06:00
Daniel Nichter
702d475eda Set LANG so sort acts as expected and Jenkins is happy. 2012-07-31 10:49:33 -06:00
Brian Fraser
5d8be022e9 Merge ubuntu-12-64-issues 2012-07-20 17:33:13 -03:00
Daniel Nichter
97a8ba9518 Report when a /tmp/port is missing files. 2012-07-19 12:51:23 -06:00
Daniel Nichter
efb6a0f6ce Don't fail if /tmp/port/stop doesn't exist when stopping test env. 2012-07-19 12:40:51 -06:00
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Daniel Nichter
137e319afa Fix mysqld -V test again. 2012-06-29 18:18:28 -06:00
Daniel Nichter
80308dcb5d Fix arch check and find_mysql_base_dir(). 2012-06-29 16:12:33 -06:00
Daniel Nichter
e560b7e3dc Fix find cmd and mysqld -V test. wget to explicit file name. 2012-06-29 15:55:06 -06:00
Daniel Nichter
cf6e4847b4 Changes to sandbox/jenkins-test: get 32-/64-bit barebones MySQL according to OS arch; use /Users/daniel for MySQL binaries; and remove ITERATIONS. 2012-06-29 15:42:03 -06:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Baron Schwartz
b9304dabb5 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:14:20 -04:00
Daniel Nichter
46fdc4be4e Fix general_log config for 5.5. 2012-06-07 12:51:44 -04:00
Daniel Nichter
79c716d358 Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs. 2012-06-07 12:38:45 -04:00
baron
52271eec9e prevent annoying error messages about unsigned thread_stack value blah blah 2012-06-06 21:30:15 -04:00
Daniel Nichter
f4b3bdb88b Use just RAND() instead of RAND() + NOW() to avoid be coerced to an int and therefore not sub-second safe. 2012-06-06 13:52:17 -07:00
Daniel Nichter
a178bb32f8 Use md5 "pings" in percona_test.sentinel for sub-second tests that call wipe_clean() twice. Update t/lib/samples/SchemaIterator/all-dbs-tbls-5.0.txt for percona_test.sentinel. Restart slaves in pt-table-checksum/replication_filters.t. Modernize and make pt-table-sync/replicate_do_db.t stable. 2012-06-06 13:31:24 -07:00
Daniel Nichter
805b9dec4a Clear mysql.db from default 5.1 sandbox data. 2012-06-06 14:31:36 -04:00
Baron Schwartz
9865ad451d add sanity checks and slave-lag synchronization to prevent replication breakage, false sandbox breakage, etc. 2012-06-06 04:47:45 -04:00
Baron Schwartz
1a40d1301f Make sandbox servers log their actions, remove test-env reset from pt-table-checksum/basics.t to stop replication breakage 2012-06-06 00:57:19 -04:00
Baron Schwartz
5c23b95072 magic to check that tests didn't muck with test dataset 2012-06-05 03:24:59 -04:00
baron
95f7e53feb simplify and clean up sandbox/test-env a little, also helps prevent error messages like this when running test-env: [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072 2012-06-05 10:22:04 -04:00
Baron Schwartz
81e31c67ff change default storage engine when disabling innodb 2012-06-04 10:08:27 -04:00
Daniel Nichter
5b34b78958 Fix typo in sandbox/jenkins-test. 2012-06-04 11:46:02 -04:00
Daniel Nichter
fb924487ef Tweak test-env kill a little; going to use it in Jenkins. 2012-06-04 11:41:58 -04:00
Daniel Nichter
4052c04759 Make sandbox/test-env print debug info when an error happens. 2012-06-04 11:20:53 -04:00
Daniel Nichter
4e90f65736 Make pt-table-checksum/relication_filters.t and progress.t stable. Add PerconaTest::wait_until_no_lag(). Fix sandbox/test-env reset. 2012-06-04 07:33:14 -07:00
Baron Schwartz
2e6a2e3638 make start-sandbox succeed when there is a leftover sandbox already 2012-06-03 17:24:46 -04:00
Baron Schwartz
bfd2222a54 make slaves set themselves read_only. Fix problem with replication_filters.t that is possibly not starting slaves after their masters are restarted. 2012-06-03 16:20:58 -04:00
Daniel Nichter
0b0db9dee4 Fix 5.5 data file timestamps so they're not in the future. 2012-05-18 09:37:09 -06:00
Daniel Nichter
c9e4192798 Fix 5.5 sandbox data (mysql.help_topic was corrupt). 2012-05-17 14:02:12 -06:00
Daniel Nichter
3ebf357a1f Don't crash if innodb_lock_wait_timeout doesn't exist. 2012-05-04 10:09:50 -06:00
Daniel Nichter
13623102e1 Debug test-env. 2012-02-16 11:03:23 -07:00
Daniel Nichter
845933b10b Repeat Jenkins test even if an iter fails. 2012-02-14 15:06:27 -07:00
Daniel Nichter
721b298518 Fix Bash syntax error in jenkins-test. 2012-02-14 12:52:56 -07:00
Daniel Nichter
fd9700757c Make jenkins-test e executable and -x. 2012-02-14 12:42:53 -07:00
Daniel Nichter
072f69022c Add jenkins-test script for simplier build step. 2012-02-14 12:36:00 -07:00
Daniel Nichter
9383572742 Merge trunk r174. 2012-02-07 13:10:11 -07:00
Daniel Nichter
ec8471ba28 Finish rewriting TableSyncer and updating its test. Add RowSyncerBidirectional.pm. Add GENLOG switch to start-sandbox. 2011-12-21 12:10:57 -07:00
Daniel Nichter
4ad88ddd93 Update progress.t, option_sanity.t, and standard_options.t. Make test env always have slave2 (12347, slave of 12346). Add PerconaTest::count_checksum_results(). Add util/wait-to-exec. 2011-10-14 11:45:11 -06:00
Daniel Nichter
048ad9493c Various test tweaks for stability. 2011-08-25 11:08:57 -06:00
Daniel Nichter
dbe6de7f71 Handle if mkdir fails in start-sandbox. 2011-08-23 09:43:50 -06:00
Daniel Nichter
e93381d6b6 Make sandbox scripts simpler and more reliable. Remove "remove" option from stop-sandbox and update tests that used it. 2011-08-23 09:11:00 -06:00
Daniel Nichter
c79c917fe7 Cat mysql log if sandbox fails to start. 2011-08-22 09:11:29 -06:00
Daniel Nichter
0faa122867 Remove last references to Maakit. Update sandbox test env scripts. 2011-08-04 16:23:01 -06:00
Daniel Nichter
7526f97224 Fix and make tests more reliable. 2011-07-14 11:05:05 -06:00