tests: Make them run 20 seconds faster by making sleeps in tests shorter
This commit is contained in:
parent
a371e732d0
commit
48982660ac
|
|
@ -129,7 +129,7 @@ sub connect($;%)
|
|||
return 0;
|
||||
}
|
||||
|
||||
select(undef, undef, undef, 0.5);
|
||||
select(undef, undef, undef, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ sub start($)
|
|||
}
|
||||
|
||||
# let it start...
|
||||
sleep(1);
|
||||
sleep(0.4);
|
||||
|
||||
my $kid = waitpid($pid, WNOHANG);
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue