Skip to content

Commit

Permalink
Slow machines weren't seeing all the flushes. Turns out that the
Browse files Browse the repository at this point in the history
driver had a chance to glom together put() calls before the next
writable event came around.  Increased the delay between put() calls
by an order of magnitude to avoid false test failures.
  • Loading branch information
rcaputo committed Apr 5, 2006
1 parent 9017b5e commit 7376497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/30_loops/00_base/wheel_tail.pm
Expand Up @@ -193,7 +193,8 @@ sub client_tcp_got_alarm {

$heap->{put_count} += 2;
if ($heap->{put_count} < $max_send_count) {
$kernel->delay( got_alarm => 0.1 );
# Delay is 1 for slow hardware.
$kernel->delay( got_alarm => 1 );
}
}

Expand Down

0 comments on commit 7376497

Please sign in to comment.