]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/httpd-corner.t
tests: replace select/usleep calls with tick()
[public-inbox.git] / t / httpd-corner.t
index e16e8dc87364db2de975b1edeefc49ed04a96db9..88820270d4f97100cd3f66f931529ccdee88e446 100644 (file)
@@ -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;