Commit Graph

3706 Commits

Author SHA1 Message Date
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
Brian Fraser fraserb@gmail.com
422308ffc5 t/pt-query-digest/read_timeout.t: Make the tests slightly more forgiving for slow computers 2012-06-05 11:04:10 -03:00
Brian Fraser fraserb@gmail.com
a00542aec8 t/pt-diskstats/pt-diskstats.t: Make sure the STDIN magic doesn't leak out 2012-06-05 10:59:42 -03:00
Baron Schwartz
cbcab879c5 fix the magical data integrity test at the bottom of t/pt-slave-delay/auto_restart.t 2012-06-05 05:38:49 -04:00
Baron Schwartz
5c23b95072 magic to check that tests didn't muck with test dataset 2012-06-05 03:24:59 -04:00
Brian Fraser fraserb@gmail.com
6ede613752 VersionParser: Allow laxer version numbers, introduce the other cmp methods. 2012-06-05 13:50:41 -03:00
Baron Schwartz
bac1dad82e Add a check that sandbox servers are OK 2012-06-05 00:21:06 -04:00
Baron Schwartz
2d33ba23dc Attempt to avoid race condition in t/pt-table-checksum/progress.t by slowing down the checksum job slightly, but this is a TEST_WISHLIST PLUGIN_WISHLIST and this test goes onto the spreadsheet of unreliable tests. 2012-06-05 00:09:31 -04:00
Daniel Nichter
d8d019aecc Make pt-table-sync/issue_79.t stable by waiting for tables to repl to the slave. 2012-06-05 09:07:18 -06:00
Brian Fraser fraserb@gmail.com
b2312e068f SchemaIterator: Use different test files for 5.1 and 5.5 2012-06-04 23:24:50 -03:00
Daniel Nichter
1b11b7d7d9 Kill cxn only if using a db in Sandbox::wipe_clean(). Fix pt-duplicate-key-checker/basics.t for 5.0. Make pt-table-sync/lock_and_rename.t more stable. 2012-06-04 18:46:35 -07:00
Baron Schwartz
3a717b645c Sometimes Sandbox.pm tries to kill a connection that's already gone, and that kills the whole test. 2012-06-04 12:08:50 -04:00
Baron Schwartz
48fc1f82a7 Add version-specific results for mysql5.5 2012-06-04 12:04:16 -04:00
Baron Schwartz
af6d7e62ae update pt-stalk test so it works more reliably when passwordless login is set up, and so the cycle-count test is OK with nondeterminism of +/- 1 second 2012-06-04 11:53:44 -04:00
Brian Fraser fraserb@gmail.com
22de87c4eb t/lib/SchemaIterator.t: Ignore commas at the end of statements 2012-06-04 22:15:04 -03:00
Baron Schwartz
56e20d269a Add another test for reconnect, and fix failure/race condition in pt-slave-delay 2012-06-04 11:33:06 -04:00
Brian Fraser fraserb@gmail.com
9aaafe8478 PerconaTest: Stop no_diff from mistakenly unlinking samples 2012-06-04 21:57:58 -03:00
Brian Fraser fraserb@gmail.com
939e9a84b6 t/lib/SchemaIterator.t: Samples for 5.5 and more robust fix for the ordering issue. 2012-06-04 21:48:55 -03:00
Brian Fraser fraserb@gmail.com
0c32f69ee0 PerconaTest: Split slurp_file out of load_file, also changes to no_diff.
The no_diff changes introduce two new transformation options,
and also add a diag with the diff if there was one.
2012-06-04 21:47:18 -03:00
Baron Schwartz
e9e8285b54 pt-slave-delay doesn't reconnect reliably, this is a start 2012-06-04 11:10:41 -04:00
Baron Schwartz
7840006654 average row size is more variable than we used to believe 2012-06-04 10:33:07 -04:00
Baron Schwartz
7436c7e36b this test is brittle; no changes, just add some diag() 2012-06-04 10:09:42 -04:00
Baron Schwartz
9166ffc424 fix for mysql5.5 2012-06-04 10:09:37 -04:00
Baron Schwartz
81e31c67ff change default storage engine when disabling innodb 2012-06-04 10:08:27 -04:00
Baron Schwartz
0637b85bb3 only commit if not autocommit; fixes some newly broken tests 2012-06-04 10:08:06 -04:00
Brian Fraser fraserb@gmail.com
2f6f9cfba6 pt-slave-find.t: Test the InnoDB versions returned in the report 2012-06-04 20:30:08 -03:00
Brian Fraser fraserb@gmail.com
4e241e8de5 pt-log-player: Always commit all changes (5.5 compat) 2012-06-04 19:25:25 -03:00
Baron Schwartz
a074ce0526 Make pt-index-usage commit after saving results to tables, which fixes tests in MySQL 5.5 2012-06-04 08:21:02 -04:00
Baron Schwartz
636da6e755 skip failing test on 5.5 because it's a zombie 2012-06-04 08:13:20 -04:00
Baron Schwartz
aec4ad69d3 fix test for MySQL 5.5's differences 2012-06-04 08:08:45 -04:00
Brian Fraser fraserb@gmail.com
ccd1e58785 t/lib/SchemaIterator.t shouldn't assume that the order of the foreign key constraints is deterministic 2012-06-04 18:39:10 -03:00
Brian Fraser fraserb@gmail.com
1a47970469 Roll back the SchemaIterator samples change.
Turns out that the order isn't exactly deterministic; There's
something weird going on here, so this commit revers the
previous fix.
2012-06-04 18:23:31 -03:00
Daniel Nichter
eaf0934479 pass() pt-sift rather than TODO. 2012-06-04 14:14:34 -07:00
Daniel Nichter
12eb1bfb21 Stop 12348 in pt-upgrade tests. 2012-06-04 14:06:06 -07:00
Brian Fraser fraserb@gmail.com
0c156d8b12 Merged the fix for an occasionally failing test in t/pt-query-digest/review.t 2012-06-04 13:20:44 -03:00
Brian Fraser fraserb@gmail.com
1645de13ae Normalize numbers in t/pt-query-digest/review.t
Otherwise, the change of notations from scientific to decimal
or the precision may lead to tests failing.
2012-06-04 13:17:41 -03: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
c91794e6db Merge changes. 2012-06-04 11:23:40 -04:00
Daniel Nichter
4052c04759 Make sandbox/test-env print debug info when an error happens. 2012-06-04 11:20:53 -04:00
Brian Fraser fraserb@gmail.com
cf6d62a21c Make t/pt-upgrade/skip_non_select.t stop the server that it starts 2012-06-04 12:16:25 -03:00
Brian Fraser fraserb@gmail.com
a3302dde93 Merge the fix for systems that lack sysctl 2012-06-04 12:01:12 -03:00
Brian Fraser fraserb@gmail.com
865b3e4e9d collect_system_info shouldn't assume that sysctl is available.
It isn't on CentOS 5.5. It didn't really assume that it
was always there, but rather than the produced samples file
would be.
2012-06-04 11:57:44 -03:00
Daniel Nichter
bae3d4d17e Merge changes. 2012-06-04 07:34:07 -07: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
Brian Fraser fraserb@gmail.com
a976677b05 Test plan updates 2012-06-04 11:23:23 -03:00
Daniel Nichter
e7b2171696 Merge changes. 2012-06-04 08:26:51 -04:00
Daniel Nichter
7f51c42493 Fix Sandbox::leftover_servers(). Temporarily disable very slow test in pt-table-checksum/chunk_size.t. Debugging pt-table-checksum/replication_filters.t. 2012-06-04 08:24:30 -04:00
Baron Schwartz
8916958897 Change storage engine to myisam so MySQL 5.5 will work 2012-06-04 00:28:21 -04:00
Baron Schwartz
40017ec5bd Skip utf8 tests when DBD::mysql less than 4.0 2012-06-04 00:23:55 -04:00