Commit Graph

1156 Commits

Author SHA1 Message Date
Daniel Nichter
720405d0ed Merge latest. 2013-03-08 13:02:54 -08:00
Daniel Nichter
3f0473052c Fix pt-hb/pxc.t so it's not thrown off by previous tests. 2013-03-08 13:01:19 -08:00
Daniel Nichter
1de56cd6ab Merge latest. 2013-03-08 13:29:53 -07:00
Daniel Nichter
f616c43734 Add diag output to pt-hb/pxc.t. 2013-03-08 13:29:02 -07:00
Daniel Nichter
e5e6b1d9b9 Fix pt-heartbeat/pxc.t. Exit early in test-env if wget fails. Add APP=FORK|mysql to start-sandbox so it too works around the pxc mysqld -V bug; add FORK=pxc to start_sandbox() calls. 2013-03-08 10:07:05 -08:00
vagrant
664449b153 Do not 'REPLACE INTO percona_test.sentinel' in start-sandbox because it doesn't work with RBR. Fix pt-table-checksum/pxc.t re this, and make pt-osc/pxc.t better re this. 2013-03-07 13:17:01 -08:00
vagrant
634922553c Finish test for pt-osc on master replicating to cluster, altering table with foreign keys. 2013-03-06 11:28:13 -08:00
Daniel Nichter
3196e4b67d Add stub test for pt-osc on master replicating to cluster, altering table with foreign keys. 2013-03-06 10:46:23 -07:00
Daniel Nichter
150d4cbe53 Update sample file with --tries output. 2013-03-05 16:42:40 -07:00
Daniel Nichter
c1f3e130b1 Update samples with new output for --tries. 2013-03-05 16:25:12 -07:00
Daniel Nichter
eefaeeb8cc Change --retries to --tries and enhance with per-operation format that also allows setting the wait between tries. 2013-03-05 16:18:02 -07:00
Daniel Nichter
f7f63555ee Add lib/bash/subshell.sh and use in pt-stalk to fix/improve subprocess waiting. 2013-03-04 17:47:02 -07:00
Daniel Nichter
0da15fb083 Make --no-stalk _not_ force --iterations and other options. Extensively update the tool's docs. 2013-03-04 15:57:52 -07:00
Daniel Nichter
45813e082d Merge pt-osc-metadata-lock-bug-1113301. 2013-03-04 12:06:34 -07:00
Daniel Nichter
3a17d1d6fd Skip t/pt-archiver/check_slave_lag.t on MySQL 5.6 because the trick doesn't work. 2013-03-03 08:41:41 -07:00
Daniel Nichter
f4a8c4a65d Make t/lib/KeySize.t flexible because EXPLAIN plans differ slightly. 2013-03-03 08:31:17 -07:00
Daniel Nichter
1642acd235 Fix error in t/lib/DSNParser.t. 2013-03-03 08:26:23 -07:00
Daniel Nichter
21efb4dd7e Truly fix t[/pt-fifo-split/pt-fifo-split.t. 2013-03-02 17:02:08 -07:00
Daniel Nichter
882defb1cc Fix t/lib/Percona/XtraDB/Cluster-no-PXC.t. 2013-03-02 13:19:42 -07:00
Daniel Nichter
1b95fee620 Pass file to OptionParser->new() in tests so OptionParser::get_vars() works. 2013-03-02 13:10:28 -07:00
Daniel Nichter
f7e07493f6 Don't set innodb_lock_wait_timeout in tests because it generates a warning on 5.0 and 5.1 that the tests don't suppress. 2013-03-02 13:05:26 -07:00
Daniel Nichter
9e9024d508 Fix more tests for set-vars. 2013-03-02 12:17:12 -07:00
Daniel Nichter
f0b7712528 Fix tests to work with new --set-vars, and change --lock-wait-timeout to --set-vars innodb_lock_wait_timeout in tests. 2013-03-02 10:17:23 -07:00
Daniel Nichter
1d42a09196 Remove --lock-wait-timeout from pt-table-checksum; make innodb_lock_waitout=1 a --set-vars default. Update all the ptc tests. 2013-03-01 19:02:13 -07:00
Daniel Nichter
a8f52fd532 Fix t/pt-table-checksum/replication_filters.t again because my Mac is the odd ball. 2013-03-01 18:31:31 -07:00
Daniel Nichter
e40f973ed8 Fix t/pt-table-checksum/replication_filters.t again, better. 2013-03-01 17:28:20 -07:00
Daniel Nichter
fad6d17647 Fix t/pt-table-checksum/replication_filters.t again, better. 2013-03-01 15:06:47 -07:00
Brian Fraser
be048f9674 pt-fifo-split: Fix for the blocking tests 2013-03-01 06:21:28 -03:00
Daniel Nichter
5a34a0817e Fix bug 968596: rename NibbleIterator::chunk_size() to limit() and update ptc and pt-osc. 2013-02-28 19:26:04 -07:00
Daniel Nichter
15341b4e0e Fix --stats sample for < MySQL 5.5. 2013-02-28 19:00:07 -07:00
Daniel Nichter
557a63232b Document and test --plugin. 2013-02-28 17:27:39 -07:00
Daniel Nichter
5b56f8fccc Retry metadata locks. Add --plugin to make testing this easier. Print --statistics in cleanup tasks. Add a helper script for myself: sandbox/set-mysql. 2013-02-28 12:29:17 -07:00
Brian Fraser
398bd1f164 pt-fifo-split.t: Harden two tests 2013-02-28 13:18:51 -03:00
Daniel Nichter
b1e54cce8e Merge latest 2.2 for MySQL 5.6 fixes. 2013-02-28 08:54:31 -07:00
Daniel Nichter
310de04a56 Don't use /tmp in tempfile(). 2013-02-27 22:24:57 -07:00
Daniel Nichter
e290d91fec Fix t/pt-fifo-split/pt-fifo-split.t. 2013-02-27 22:23:07 -07:00
Daniel Nichter
c1a11168bc Fix t/pt-table-checksum/replication_filters.t fofor MySQL 5.6. 2013-02-27 21:59:34 -07:00
Daniel Nichter
2ffe8737a4 Fix pt-table-checksum/basics.t test that was affected by bug 1087804, and test for bug 1087804. 2013-02-27 19:44:37 -07:00
Daniel Nichter
55049b8759 Fix Runtime.t and update it in all tools. 2013-02-27 19:23:08 -07:00
Daniel Nichter
c6958b497d First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing. 2013-02-27 18:47:00 -07:00
Daniel Nichter
2c4bd60fb7 Merge pt-fke-logger-2.2. 2013-02-27 16:41:28 -07:00
Daniel Nichter
a21c36ac99 Test that ::parent keeps the dbh alive for the child. 2013-02-26 16:34:48 -07:00
Brian Fraser
934709abad Fix tests broken by the previous commit 2013-02-26 12:03:12 -03:00
Daniel Nichter
8b428e28a1 Mini-overhaul pt-deadlock-logger: change --interval default from undef to 30, add --iterations, remove --print, add --quiet, use explicit --columns default, remove --collapse, change default --clear-deadlocks table to percona_schema.clear_deadlocks, refactor the code, use Cxn and Runtime, remove some global vars. 2013-02-25 17:19:32 -07:00
Daniel Nichter
6aef3e7028 Mini-overhaul for pt-fk-error-logger: make --run-time standard, remove --print, add --quiet, add --iterations, change default --interval to 30, use Cxn and Runtime, reconnect to MySQL, eval the critical operation, rewrite/update the docs. 2013-02-25 11:55:06 -07:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Daniel Nichter
45a21acc0c Merge enable-version-check-by-default. 2013-02-22 10:47:57 -07:00
Daniel Nichter
831197ba07 Update t/pt-query-digest/version_check.t. 2013-02-21 16:33:45 -07:00
Daniel Nichter
364e08229d Test that --version-check works/is enabled by default. 2013-02-21 16:07:33 -07:00
Daniel Nichter
fc851caec8 Simplify checking for .bzr/ to auto-disable --version-check in dev and test envs. Update t/pt-archiver/version_check.t. Need to update all other tools... 2013-02-21 15:59:49 -07:00