summaryrefslogtreecommitdiff
path: root/t/binary.t
diff options
context:
space:
mode:
Diffstat (limited to 't/binary.t')
-rwxr-xr-xt/binary.t12
1 files changed, 11 insertions, 1 deletions
diff --git a/t/binary.t b/t/binary.t
index c0605ca..2f0396b 100755
--- a/t/binary.t
+++ b/t/binary.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use Test::More tests => 797;
+use Test::More tests => 857;
use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
@@ -333,6 +333,16 @@ $mc->silent_mutation(::CMD_ADDQ, 'silentadd', 'silentaddval');
}
}
+# diag "Test stats settings."
+{
+ my %stats = $mc->stats('settings');
+
+ is(1024, $stats{'maxconns'});
+ is('NULL', $stats{'domain_socket'});
+ is('on', $stats{'evictions'});
+ is('yes', $stats{'cas_enabled'});
+}
+
# Along with the assertion added to the code to verify we're staying
# within bounds when we do a stats detail dump (detail turned on at
# the top).