Commit Graph

1111 Commits

Author SHA1 Message Date
Daniel Nichter
b96e43419f Merge ~percona-toolkit-dev/percona-toolkit/fix-ptc-checksum-tbl-bug-1008778. 2012-06-05 13:08:21 -04:00
Daniel Nichter
bb2fd381d3 Fix, simplify, enhance, and make pt-table-checksum/throttle.t stable. 2012-06-05 12:59:20 -04:00
Daniel Nichter
4f83cf4102 Wait for --replicate table to repl on all slaves. Add wait_for arg to PerconaTest::full_output(). 2012-06-05 12:29:26 -04:00
Baron Schwartz
649ee2c301 sleep 3 when --run-time 2, otherwise we get spurious failures 2012-06-05 11:56:56 -04:00
Daniel Nichter
7f8d07a615 Mke pt-online-schema-change/privs.t stable by waiting for drop user to replicate. 2012-06-05 15:53:43 -07:00
Brian Fraser fraserb@gmail.com
909552bf40 t/pt-table-sync/issue_634.t: Wait for the slave to replicate 2012-06-05 19:27:12 -03:00
Daniel Nichter
b4c4c2c85e Fix pt-table-checksum/basics.t to work with new percona_test db. 2012-06-05 15:00:25 -07:00
Brian Fraser fraserb@gmail.com
9fb8601267 t/pt-table-checksum/replication_filters.t should account for percona_test 2012-06-05 18:57:25 -03:00
Daniel Nichter
4fbecaa3d3 Fix pt-table-checksum/privs.t so it doesn't break the sandbox. 2012-06-05 13:35:17 -07:00
Daniel Nichter
3160b70b00 Fix pt-table-sync/issue_1065.t from modifying sakila tables. Add util/diff-and-restart-sandbox. 2012-06-05 15:56:22 -06:00
Brian Fraser fraserb@gmail.com
345a21a82e Replace the last instances of MKDEBUG 2012-06-05 12:28:36 -03:00
Brian Fraser fraserb@gmail.com
6b93d51e43 ReadKeyMini: Restore STDIN flags in cooked()
This will probably resolve bug #946707: pt-sift loses STDIN after pt-diskstats
2012-06-05 12:16:49 -03:00
baron
4906b52d3b Make sure t/pt-slave-delay/auto_restart.t doesn't break replication on 12347 after restarting 12346; silence some noise from t/lib/MasterSlave.t when it restarts instances (mysqld will print warnings about thread_stack on mysql5.0) 2012-06-05 10:58: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
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