fix flaky stats.t test
lru maintainer was racing to free expired/flushed items, so the "get_flushed"
and similar counters couldn't tick. disable those bg threads for this test.
@@ -6,7 +6,7 @@ use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
-my $server = new_memcached();
+my $server = new_memcached("-o no_lru_crawler,no_lru_maintainer");
my $sock = $server->sock;
@@ -24,7 +24,7 @@ my $sock = $server->sock;
my $stats = mem_stats($sock);
# Test number of keys
-is(scalar(keys(%$stats)), 78, "expected count of stats values");
+is(scalar(keys(%$stats)), 71, "expected count of stats values");
# Test initial state
foreach my $key (qw(curr_items total_items bytes cmd_get cmd_set get_hits evictions get_misses get_expired
