tests: Make them run 20 seconds faster by making sleeps in tests shorter

This commit is contained in:
Heikki Hannikainen 2012-11-22 00:19:11 +02:00
parent a371e732d0
commit 48982660ac
3 changed files with 3 additions and 2 deletions

View File

@ -129,7 +129,7 @@ sub connect($;%)
return 0;
}
select(undef, undef, undef, 0.5);
select(undef, undef, undef, 0.1);
}
}

View File

@ -127,7 +127,7 @@ sub start($)
}
# let it start...
sleep(1);
sleep(0.4);
my $kid = waitpid($pid, WNOHANG);

View File

@ -10,5 +10,6 @@ my $p = new runproduct('basic');
ok(defined $p, 1, "Failed to initialize product runner");
ok($p->start(), 1, "Failed to start product");
sleep(1);
ok($p->stop(), 1, "Failed to stop product");