Remove pt conf files before running Jenkins test else they can cause weird results. Make pt-stalk --collect run-time test more liberal.

This commit is contained in:
Daniel Nichter
2012-10-13 12:58:55 -06:00
parent d04529a64b
commit c060b650f2
2 changed files with 8 additions and 2 deletions

View File

@@ -149,9 +149,9 @@ like(
# the samples may not be precisely 1 second apart.
chomp($output = `cat $dest/*-df | grep -c '^TS'`);
ok(
$output >= 1 && $output <= 2,
$output >= 1 && $output <= 3,
"Collect ran for --run-time"
);
) or diag("Run time: $output");
ok(
PerconaTest::not_running("pt-stalk --iterations 1"),