Skip to content

Commit

Permalink
Add a comment to t/05_reconnect_timeout.t so that we stop 'fixing' it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Steinert committed May 19, 2012
1 parent 3039298 commit 55d5af9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/05_reconnect_timeout.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ use Cache::Memcached;
use IO::Socket::INET;
use Time::HiRes qw(gettimeofday tv_interval);

##############################################################################
# This is connecting to TEST-NET-1 on purpose, because that's a space that is
# guaranteed by RFC to have no hosts in it. Sometimes we still get fast RST
# frames though, so we have to check before we trust it.
#
# DO NOT FIX THIS CODE TO CHECK AND MAKE SURE THE HOST IS UP. IT IS SUPPOSED
# TO BE DOWN. :) --hachi
##############################################################################
my $testaddr = "192.0.2.1:11211";

my $stime = [gettimeofday];
Expand Down

0 comments on commit 55d5af9

Please sign in to comment.