Commit Graph

1146 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com
09c79c2596 t/pt-online-schema-change/alter_active_table.t: Don't bail out if there was a test failure. 2012-06-11 00:19:34 -03:00
Daniel Nichter
28637d8c95 Remove check_tables.t because it's from 2.0 (removed in 2.1 r228). 2012-06-10 22:31:48 -04:00
Daniel Nichter
970f7d7e64 Merge ~percona-toolkit-dev/percona-toolkit/explain-checksum-chunks. 2012-06-10 13:25:44 -04:00
Daniel Nichter
f890ceafb7 Rename pt-online-schema-change/check_tables.t.THIS. 2012-06-10 13:23:06 -04:00
Daniel Nichter
3ff68b157a Merge ~percona-toolkit-dev/percona-toolkit/stabilize-test-suite. 2012-06-10 13:22:26 -04:00
Daniel Nichter
f422dab969 Clarify --chunk-index name:n validation. 2012-06-10 13:10:41 -04:00
Daniel Nichter
1f861fa9f5 Fix docs about skipping chunks with bad plans. 2012-06-10 12:41:24 -04:00
Daniel Nichter
ad687ce77c Clarify --check-plan error message. 2012-06-10 12:19:15 -04:00
Daniel Nichter
75c79ae204 Implement --chunk-index name:n in pt-osc. Fix pod in pt-table-checksum. 2012-06-10 12:04:42 -04:00
baron@percona.com
1011eff2bb documentation for chunk-index and check-plan 2012-06-10 11:11:30 -04:00
Daniel Nichter
e82e1fc04e Update all modules in pt-osc (to add support for --chunk-index index:n). 2012-06-10 10:46:49 -04:00
Daniel Nichter
60063f17a0 Implement and test --chunk-index index:n. 2012-06-10 10:43:42 -04:00
Daniel Nichter
731fc3aa4e Update all modules in pt-table-checksum. 2012-06-10 10:02:27 -04:00
Daniel Nichter
272f963733 Remove --chunk-index-columns and extend --chunk-index instead to take INDEX:N value. Add n_index_values to TableNibbler. 2012-06-10 10:01:25 -04:00
Daniel Nichter
3c553665a2 Add stub --chunk-index-columns. 2012-06-10 09:15:41 -04:00
Daniel Nichter
2a92a0a0ff Check key_len for each chunk to ensure it doesn't decrease. Add --[no]check-plan. 2012-06-09 22:23:00 -04:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Baron Schwartz
8e9dfeec68 Some fixes for ANSI SQL quotes 2012-06-07 14:53:47 -04:00
Brian Fraser fraserb@gmail.com
db8f834164 pt-osc: Remove the wait for triggers to replicate.
It wasn't needed; turned out to be a red herring chasing a
different bug.

-------------- This line and the following will be ignored 
--------------
modified:
  bin/pt-online-schema-change
unknown:
  bug-ptosc
  error
  oot.txt
  oot2.txt
  percona-testxSfjJBOj/
  ptoscbug.pl
1 shelf exists. See "bzr shelve --list" for details.
2012-06-07 23:36:54 -03:00
Baron Schwartz
f7c97e749e Make TableParser.pm handle ANSI quotes 2012-06-07 00:59:59 -04:00
Brian Fraser fraserb@gmail.com
ba2ddf682b Changed all the pt-osc tests to use full_output, since output uses eval {} 2012-06-07 17:46:19 -03:00
Brian Fraser fraserb@gmail.com
e025b66bd2 pt-osc: Fix the __DIE__ handler to account for eval, also make sure to wait until the slaves replicate the triggers 2012-06-07 17:45:24 -03:00
Brian Fraser fraserb@gmail.com
63b31873e5 PerconaTest::full_output: Fix a bug in the returned status 2012-06-07 17:43:50 -03:00
Baron Schwartz
aa42210f72 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:36:07 -04:00
Baron Schwartz
b9304dabb5 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:14:20 -04:00
Daniel Nichter
46fdc4be4e Fix general_log config for 5.5. 2012-06-07 12:51:44 -04:00
Daniel Nichter
17edb54398 Wait for changes to replicate in pt-table-sync/issue_634.t. 2012-06-07 12:45:01 -06:00
Daniel Nichter
fb64cdda99 Wait for changes to replicate in pt-table-sync/bugs.t. 2012-06-07 12:43:18 -04:00
Daniel Nichter
79c716d358 Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs. 2012-06-07 12:38:45 -04:00
Brian Fraser fraserb@gmail.com
8d4354090e Fix for #949630: pt-query-digest mentions a Subversion repository 2012-06-07 12:02:47 -03:00
Brian Fraser fraserb@gmail.com
03a9461daf Removed PerconaTest::{wait_until_no_lag|wait_until_slaves_running}, replaced them with Sandbox::wait_for_slaves 2012-06-07 12:00:40 -03:00
Daniel Nichter
dac0731251 Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves(). 2012-06-07 10:25:44 -04:00
Baron Schwartz
4af46e81f9 Make t/pt-online-schema-change/alter-active-table.t less fickle, but still not 100% fixed 2012-06-06 16:45:13 -04:00
Baron Schwartz
af38351e82 wait for slaves after load_file 2012-06-06 16:32:14 -04:00
Daniel Nichter
6614cae630 Make pt-table-sync/binlog_format.t stable. 2012-06-07 09:30:05 -04:00
Daniel Nichter
312169a4c0 Make t/pt-archiver/issue_1225.t by waiting for the table. 2012-06-07 08:11:25 -04:00
Baron Schwartz
9e4e97ca03 fix timing issue in t/pt-slave-delay/standard_options.t 2012-06-06 14:05:36 -04:00
Daniel Nichter
1283ceafdd Wait for slaves in pt-upgrade/rewrite_non_select.t to make it stable. 2012-06-06 23:25:51 -04:00
baron
a76143f772 fix a timing issue in pt-ioprofile.t 2012-06-06 22:55:19 -04:00
Baron Schwartz
673058e012 put some feedback in t/pt-online-schema-change/basics.t for impatient testers 2012-06-06 13:15:33 -04:00
Baron Schwartz
7c4b37e2c1 Fix a timing issue in t/pt-table-sync/triggers.t 2012-06-06 13:04:36 -04:00
Baron Schwartz
44970ae99a fix another timing issue in t/pt-table-sync/issue_634.t 2012-06-06 12:58:33 -04:00
Baron Schwartz
45a1f20565 fix t/pt-query-digest/explain.t for MySQL 5.5 2012-06-06 12:49:33 -04:00
Baron Schwartz
671c78c184 fix timing issues with /pt-table-sync/master_master.t 2012-06-06 12:39:52 -04:00
Daniel Nichter
e43b4e15ca Modernize and make pt-table-sync/master_master.t stable. 2012-06-06 22:13:20 -04:00
Baron Schwartz
d2c63e1030 make t/lib/TableChunker.t non-non-deterministic 2012-06-06 12:16:25 -04:00
Daniel Nichter
add06645d8 Modernize and hopefully make pt-query-digest/issue_360.t stable. 2012-06-06 21:43:53 -04:00
baron
52271eec9e prevent annoying error messages about unsigned thread_stack value blah blah 2012-06-06 21:30:15 -04:00
baron
7a57261843 fix things looking for hardcoded mysqlbinlog path (t/pt-table-checksum/replication_filters.t and t/pt-table-sync/traces.t) 2012-06-06 21:29:34 -04:00
baron
7facc149a8 fix a timing issue in t/pt-slave-restart/pt-slave-restart.t 2012-06-06 21:29:30 -04:00