diff options
Diffstat (limited to 't/binary.t')
-rwxr-xr-x | t/binary.t | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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). |