summaryrefslogtreecommitdiff
path: root/t/stats.t
diff options
context:
space:
mode:
Diffstat (limited to 't/stats.t')
-rwxr-xr-xt/stats.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/stats.t b/t/stats.t
index e5d3af8..28f9133 100755
--- a/t/stats.t
+++ b/t/stats.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use strict;
-use Test::More tests => 70;
+use Test::More tests => 74;
use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
@@ -146,3 +146,9 @@ is(scalar <$sock>, "STORED\r\n", "good cas");
check_cas_stats(1, 1, 1);
my ($newid, $v) = mem_gets($sock, 'c');
is('z', $v, 'got the expected value');
+
+my $settings = mem_stats($sock, ' settings');
+is(1024, $settings->{'maxconns'});
+is('NULL', $settings->{'domain_socket'});
+is('on', $settings->{'evictions'});
+is('yes', $settings->{'cas_enabled'});