diff gunzip_memcached.t @ 587:c0b4ae82fd9d

Tests: adjusted memcached test timeouts. Raised Cache::Memcached connect_timeout from the default value.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 25 May 2015 14:21:18 +0300
parents 847ea345becb
children dc2f8aac0553
line wrap: on
line diff
--- a/gunzip_memcached.t
+++ b/gunzip_memcached.t
@@ -80,7 +80,7 @@ if ($memhelp =~ /-U/) {
 # set and compressed value to be at least 20% less than original one.
 
 my $memd = Cache::Memcached->new(servers => [ '127.0.0.1:8081' ],
-	compress_threshold => 1);
+	compress_threshold => 1, connect_timeout => 1.0);
 $memd->set('/', 'TEST' x 10)
         or die "can't put value into memcached: $!";