Commit Graph

108 Commits

Author SHA1 Message Date
Daniel Nichter
e3346332e1 Merge pt-ms-pt-stalk-standard-mysql-options. 2013-03-09 11:57:41 -07:00
Brian Fraser
fb405b17f6 Removed test for hosts's default 2013-03-06 17:05:11 -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
Brian Fraser
9e2ce2197f pt-ms & pt-stalk: Enable the standard mysql options 2013-02-25 11:21:46 -03:00
Daniel Nichter
26cc08d3d9 Fix default log level in log_warn_die.sh. 2013-01-24 11:39:23 -07:00
Daniel Nichter
98ced1a035 Make add info() log_warn_die.sh and make the subs respect OPT_VERBOSE. Add more test harness subs in util/test-bash-functions. 2013-01-24 09:17:19 -07:00
Daniel Nichter
d25a778b9f Fix two possible sources of test errors. 2012-12-14 12:14:12 -07:00
Brian Fraser fraserb@gmail.com
4eaf6e51f8 Merged experimental-fix-986847-pt-stalk-set-command 2012-12-05 21:15:20 -03:00
Brian Fraser fraserb@gmail.com
f8c7c7f2d4 Merged fix-1015590-pt-mysql-summary-percona-server-5.5 2012-12-05 21:10:22 -03:00
Brian Fraser
9522fae2f9 Added an extra test for section_percona_server_features on 5.1 2012-11-30 18:23:59 -03:00
Brian Fraser
a3527f748c Fixed the Smooth Flushing report on 5.1, which was broken by the previous commit, and made it work on 5.5 2012-11-30 18:17:30 -03:00
Brian Fraser
98707e937c pt-mysql-summary: Feedback from Fred & Jay; Display wsrep_slave_threads, and also parse & display pc.ignore_sb, pc.ignore_quorum, gcache.size, gcache.dir, gcache.name, all from wsrep_provider_options 2012-11-29 19:38:50 -03:00
Brian Fraser fraserb@gmail.com
d47b9f1f95 pt-mysql-summary: Start reporting some PXC info 2012-11-27 19:05:45 -03:00
Brian Fraser fraserb@gmail.com
bb75e6a6b7 pt-mysql-summary: Make the "Instances" section work if the instances were started with --defaults-file 2012-11-27 18:19:47 -03:00
Brian Fraser fraserb@gmail.com
22ec559b38 Fix for 986847: Allow setting which commands (and extra options) pt-stalk uses through env vars 2012-11-12 11:26:01 -03:00
Brian Fraser
227dfa6ea7 Fix for 1015590: pt-mysql-summary not Percona Server 5.5-ready 2012-11-02 00:21:48 -03:00
Daniel Nichter
33f75e069d Fix some test plans. 2012-10-24 13:36:32 -06:00
Daniel Nichter
9b920bc5a5 Conditionalize the number of files expected: 14 or 15 depending on if the box has a default my.cnf somewhere. 2012-10-24 13:03:45 -06:00
Daniel Nichter
b6072ab011 Only cat cnf file > mysql-config-file if it exists. 2012-10-24 12:43:26 -06:00
Daniel Nichter
a94605c825 Use sys default cnf file since test machines have different ones. 2012-10-24 12:08:30 -06:00
Daniel Nichter
aacdd9db17 Rewrite find_my_cnf_file() so if a port is given only that port's cnf is returned, else nothing. 2012-10-24 11:17:34 -06:00
Brian Fraser fraserb@gmail.com
df2278b95c Merged fix-903229-pt-mysql-summary-case-insensitivity-for-engines 2012-10-12 17:38:12 -03:00
Brian Fraser
289035a303 Merged fix-1038995-bash-options-starting-with-no 2012-08-28 22:05:33 -03:00
Brian Fraser fraserb@gmail.com
548e01fddd Fix for 903229: pt-mysql-summary incorrectly categorizes databases 2012-08-24 20:18:36 -03:00
Brian Fraser
ed7b497590 Report Rated PBW for fio cards 2012-08-24 19:39:58 -03:00
Brian Fraser
878528b859 Fixed report_fio_minus_a and fio_status_minus_a to handle ioMemory and report internal temp, also fixed some bugs 2012-08-24 18:23:30 -03:00
Brian Fraser
24ae24a64e Fix for 952722: pt-summary to show information about Fusion-io cards 2012-08-24 17:01:47 -03:00
Daniel Nichter
9674c6ad88 Add diag() for Bash tests. Diag 'ollect_mysql_info.t find_my_cnf_file gets the correct file' when it fails. 2012-08-22 14:50:11 -06:00
Daniel Nichter
f8a0eaaa7d Wait for debug log if it was gotten. 2012-08-22 14:22:26 -06:00
Daniel Nichter
dbeaec77b6 Increase Bash wait_for_files from 3 to 30s. Wait for innodbstatus2 in collec.t. 2012-08-22 14:04:42 -06:00
Brian Fraser fraserb@gmail.com
c2b006eeaf Fix for 1038995: pt-stalk notify-by-email fails 2012-08-20 19:22:31 -03:00
Brian Fraser fraserb@gmail.com
2f0812fb33 Merged ubuntu-12-64-issues 2012-07-30 11:30:05 -03:00
Brian Fraser
68b8eddc5a t/lib/bash/collect.sh: Wait for the df file before starting 2012-07-23 02:43:15 -03:00
Daniel Nichter
487d14228b Handle --nofoo like --no-foo in parse_options.sh and update the Bash tools. 2012-07-21 11:57:53 -06:00
Daniel Nichter
e1b39b3d5f Use TRUE/FALSE for typeless option values in --help. Update parse_options.sh lib in Bash tools. 2012-07-21 11:40:39 -06:00
Daniel Nichter
6269b196a3 Tweak t/lib/bash/collect.sh and t/lib/bash/report_mysql_info.sh and add wait_for_files() to util/test-bash-functions so hopefully they'll be more stable. 2012-07-10 16:33:00 -06:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Daniel Nichter
bf2a769536 Export TMPDIR to make tmpdir.t pass. 2012-06-11 13:28:14 -07:00
Brian Fraser fraserb@gmail.com
07081d5761 tmpdir.sh: Use the -t flag for mktemp 2012-06-11 17:07:38 -03: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
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
Baron Schwartz
48f642551e fix some problems that happen when there are many mysqld instances 2012-06-03 20:53:57 -04:00
Daniel Nichter
696a3b5e68 Fix mem/file size shortening in pt-summary and pt-mysql-summary. 2012-06-03 14:49:35 -07:00
Daniel Nichter
cc80f278d5 Code comment why MiB, GiB, etc. are used in shorten() and update that func in pt-summary and pt-mysql-summary. 2012-05-07 16:38:30 -06:00
Daniel Nichter
fdfd305dc5 Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions. 2012-05-07 12:16:24 -06:00
Daniel Nichter
11bfeba0ea Remove unused developer test file. 2012-04-03 12:16:58 -06:00
Daniel Nichter
0286631514 Merge summary-tools-2.1. 2012-04-03 10:14:55 -06:00
Brian Fraser fraserb@gmail.com
c0dedd19bf - section() revamp
- Redirect STDERR for the collection part in both tools
- rm_tempdir in sigtrap
- A part of pt-mysql-summary still depended on the system being run,
  rather than the samples being read. Now it works properly.
2012-04-02 19:25:17 -03:00
Brian Fraser fraserb@gmail.com
6dbbd6de3b The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it. 2012-04-02 13:36:17 -03:00
Brian Fraser fraserb@gmail.com
761f8a5aac Merge more of Baron's changes, also re-implement the MySQL Executables section
Plus other bugfixes.
2012-03-30 23:00:57 -03:00