~percona-toolkit-dev/percona-toolkit/pqd-enhanced-resume-file

« back to all changes in this revision

Viewing changes to t/pt-query-digest/issue_360.t

  • Committer: Brian Fraser
  • Date: 2013-03-01 19:35:43 UTC
  • mto: (530.5.1 clean-up-pqd-2.2)
  • mto: This revision was merged to the branch mainline in revision 549.
  • Revision ID: fraserbn@gmail.com-20130301193543-y0llx4rlv4pd14vs
Split --review and --history

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
# Run pt-query-digest in the background for 2s,
40
40
# saving queries to test.query_review.
41
 
diag(`$trunk/bin/pt-query-digest --processlist h=127.1,P=12345,u=msandbox,p=msandbox --interval 0.01 --create-review-table --review h=127.1,P=12345,u=msandbox,p=msandbox --review-table test.query_review --daemonize --pid $pid_file --log /dev/null --run-time 2`);
 
41
diag(`$trunk/bin/pt-query-digest --processlist h=127.1,P=12345,u=msandbox,p=msandbox --interval 0.01 --create-review-table --review h=127.1,P=12345,u=msandbox,p=msandbox,D=test,t=query_review --daemonize --pid $pid_file --log /dev/null --run-time 2`);
42
42
 
43
43
# Wait until its running.
44
44
PerconaTest::wait_for_files($pid_file);