Implement retry_on_error for Pipeline processes. Retry iteration proc twice, then fail completely. Fix mirror.t.

This commit is contained in:
Daniel Nichter
2012-05-23 16:07:05 -06:00
parent 74b1caa241
commit 491c076e75
5 changed files with 105 additions and 22 deletions

View File

@@ -49,9 +49,9 @@ $output = output(
like(
$output,
qr/Query\s+1/,
"No infinite loop in report crashes (bug 888114)"
);
qr/Argument \S+ isn't numeric/,
"Report crashed, but no infinite loop (bug 888114)"
);
# #############################################################################
# Done.

View File

@@ -36,9 +36,6 @@ my $cmd;
my $pid_file = "/tmp/pt-query-digest-mirror-test.pid";
diag(`rm $pid_file 2>/dev/null`);
my $pid_file = '/tmp/pt-query-digest.test.pid';
`rm -rf $pid_file >/dev/null`;
# ##########################################################################
# Tests for swapping --processlist and --execute
# ##########################################################################