X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fhttpd-corner.t;h=88820270d4f97100cd3f66f931529ccdee88e446;hb=20ab293a131f0ec228932bf3448d1b09e280672b;hp=e16e8dc87364db2de975b1edeefc49ed04a96db9;hpb=d6aa79dcb15bb78f5ed6cb3c0d8d209b4e9e9064;p=public-inbox.git diff --git a/t/httpd-corner.t b/t/httpd-corner.t index e16e8dc8..88820270 100644 --- a/t/httpd-corner.t +++ b/t/httpd-corner.t @@ -320,7 +320,7 @@ sub conn_for { $spawn_httpd->('-W0'); } -sub delay { select(undef, undef, undef, shift || rand(0.02)) } +sub delay { tick(shift || rand(0.02)) } my $str = 'abcdefghijklmnopqrstuvwxyz'; my $len = length $str;