Even more waiting for _really_ slow Ubuntu 12 box.

This commit is contained in:
Daniel Nichter
2012-10-23 17:31:05 -06:00
parent 78e1f95257
commit d97912ef1c
+4 -4
View File
@@ -260,14 +260,14 @@ like(
$output, $output,
qr/Not stalking/, qr/Not stalking/,
"Not stalking, collect triggered" "Not stalking, collect triggered"
); ) or diag(`cat $log_file 2>/dev/null`, `ls $dest/ 2>/dev/null`);
chomp($output = `grep -c '^TS' $dest/nostalk-df 2>/dev/null`); chomp($output = `grep -c '^TS' $dest/nostalk-df 2>/dev/null`);
is( is(
$output, $output,
2, 2,
"Not stalking, collect ran for --run-time" "Not stalking, collect ran for --run-time"
); ) or diag(`cat $log_file 2>/dev/null`, `ls $dest/ 2>/dev/null`);
my $vmstat = `which vmstat 2>/dev/null`; my $vmstat = `which vmstat 2>/dev/null`;
SKIP: { SKIP: {
@@ -284,12 +284,12 @@ is(
`cat $dest/nostalk-hostname 2>/dev/null`, `cat $dest/nostalk-hostname 2>/dev/null`,
`hostname`, `hostname`,
"Not stalking, collect gathered data" "Not stalking, collect gathered data"
); ) or diag(`cat $log_file 2>/dev/null`, `ls $dest/ 2>/dev/null`);
ok( ok(
PerconaTest::not_running("pt-stalk --no-stalk"), PerconaTest::not_running("pt-stalk --no-stalk"),
"Not stalking, pt-stalk is not running" "Not stalking, pt-stalk is not running"
); ) or diag(`cat $log_file 2>/dev/null`, `ls $dest/ 2>/dev/null`);
# ############################################################################ # ############################################################################
# bad "find" usage in purge_samples gives # bad "find" usage in purge_samples gives