Commit Graph

1264 Commits

Author SHA1 Message Date
Brian Fraser
a3dd5d7ba6 Split the QueryHistory tests out of QueryReview.t 2013-03-07 11:29:30 -03:00
Brian Fraser
66cad706b3 Add missing test files 2013-03-06 18:13:37 -03:00
Daniel Nichter
e4a1714841 Rename hist.t to history.t. 2013-03-06 13:54:39 -07:00
Brian Fraser
fb405b17f6 Removed test for hosts's default 2013-03-06 17:05:11 -03: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
Brian Fraser
2034823b95 Fix broken tests 2013-03-06 14:21:29 -03:00
Brian Fraser
6e964261b7 update-samples on pt-ms 2013-03-06 14:13:05 -03:00
Brian Fraser
6096dd05b2 Move the --history tests out of review.t 2013-03-06 13:53:22 -03:00
Brian Fraser
fb346bee4a Make review.t use output() rather than shelling out 2013-03-06 13:30:14 -03: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
6f6cb1f4a5 Merge Brian's change in r539. 2013-03-05 10:01:08 -07:00
Daniel Nichter
c6068aa285 Clean up docs. Clean up t/pt-query-digest/since_until.t. review.t needs to be fixed and cleaned up (i.e. use pt_query_digest::main() instead of shelling out, split off --history tests into history.t, etc.). 2013-03-05 09:59:33 -07:00
Brian Fraser
91052e7198 Make some internal values show up nicer in --output json 2013-03-05 02:50:13 -03: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
310867b301 Removed --aux-dsn, enabled passing an optional dsn with the extra arguments 2013-03-01 17:03:05 -03:00
Brian Fraser
734deef881 Split --review and --history 2013-03-01 16:35:43 -03:00
Daniel Nichter
5e5943bd36 Change Run to Task. Add Percona/WebAPI/Exception/Resource.pm. 2013-03-01 09:47:49 -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