Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (18 sloc) 0.453 kB
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 11;
use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
# start up a server with 10 maximum connections
my $server = new_memcached('-c 10');
my $sock = $server->sock;
my @sockets;
ok(defined($sock), 'Connection 0');
push (@sockets, $sock);
foreach my $conn (1..10) {
$sock = $server->new_sock;
ok(defined($sock), "Made connection $conn");
push(@sockets, $sock);
}
Jump to Line
Something went wrong with that request. Please try again.