comparison upstream_hash_memcached.t @ 412:995f3476202e

Tests: unbreak upsream hash tests with repcached.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 20 Jun 2014 18:06:36 +0400
parents 17c5a1cc8757
children 068d020a8f85
comparison
equal deleted inserted replaced
411:17c5a1cc8757 412:995f3476202e
95 my $memhelp = `memcached -h`; 95 my $memhelp = `memcached -h`;
96 my @memopts = (); 96 my @memopts = ();
97 97
98 if ($memhelp =~ /repcached/) { 98 if ($memhelp =~ /repcached/) {
99 # repcached patch adds additional listen socket 99 # repcached patch adds additional listen socket
100 push @memopts, '-X', '8082'; 100 push @memopts, '-X', '0';
101 } 101 }
102 if ($memhelp =~ /-U/) { 102 if ($memhelp =~ /-U/) {
103 # UDP port is on by default in memcached 1.2.7+ 103 # UDP port is on by default in memcached 1.2.7+
104 push @memopts, '-U', '0'; 104 push @memopts, '-U', '0';
105 } 105 }