Commit Graph

524 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com
5d8b2956a0 t/pt-table-sync/triggers.t: Use wait_for_table and wait for both tables to replicate 2012-06-05 15:36:05 -03:00
Daniel Nichter
a44a273800 Revert back to ok() for Sandbox::ok() so tests file don't have to be updated. Shorten verify_test_data_integrity() to verify_test_data(). 2012-06-05 11:02:48 -07:00
Brian Fraser fraserb@gmail.com
1f4d99665f pt-table-sync: Bail out if --lock-and-rename and MySQL <= 5.5 2012-06-05 14:41:36 -03:00
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
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
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
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 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
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
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
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
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
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
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
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
Baron Schwartz
eb1cc3da5e fix nondeterministic wait_for_master test 2012-06-03 22:18:44 -04:00
Baron Schwartz
bb481b7470 fix plan 2012-06-03 22:10:53 -04:00
Baron Schwartz
6eba36898b fix some floating-point rendering problems 2012-06-03 22:09:37 -04:00
Brian Fraser fraserb@gmail.com
7e32dbc1b3 Updated the test plan for t/pt-deadlock-logger/standard_options.t 2012-06-03 21:56:15 -03:00
Baron Schwartz
48f642551e fix some problems that happen when there are many mysqld instances 2012-06-03 20:53:57 -04:00
Baron Schwartz
da86c409da schema for mysql5.5 2012-06-03 20:53:52 -04:00