Permalink
Browse files

Take about 3sec off the UDP SocketFactory test.

  • Loading branch information...
1 parent 6315383 commit dc33d14687a3c44e118e4ea702700b54a5e085e5 @rcaputo committed Jul 12, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/POE/Test/Loops/wheel_sf_udp.pm
@@ -171,7 +171,7 @@ sub udp_peer_a_input {
or $heap->{peer_a_send_error}++;
}
else {
- $kernel->select_read($socket);
+ $kernel->delay( ev_took_too_long => 0.5 );
}
}
else {
@@ -192,7 +192,7 @@ sub udp_peer_b_input {
or $heap->{peer_b_send_error}++;
}
else {
- $kernel->select_read($socket);
+ $kernel->delay( ev_took_too_long => 0.5 );
}
}
else {

0 comments on commit dc33d14

Please sign in to comment.