<commit_before>package net.spy.memcached.vbucket;


import java.util.List;
import net.spy.memcached.MemcachedNode;
import net.spy.memcached.vbucket.config.DefaultConfigFactory;
import net.spy.memcached.vbucket.config.Config;
import net.spy.memcached.vbucket.config.ConfigFactory;

import java.net.InetSocketAddress;
import java.util.Arrays;

import junit.framework.TestCase;

public class VBucketCacheNodeLocatorTest extends TestCase {

	private static final String configInEnvelope =
		"{" +
		"    \"authType\": \"sasl\", " +
		"    \"basicStats\": {" +
		"        \"diskUsed\": 0, " +
		"        \"hitRatio\": 0, " +
		"        \"itemCount\": 10001, " +
		"        \"memUsed\": 27007687, " +
		"        \"opsPerSec\": 0, " +
		"        \"quotaPercentUsed\": 10.061147436499596" +
		"    }, " +
		"    \"bucketType\": \"memcached\", " +
		"    \"flushCacheUri\": \"/pools/default/buckets/default/controller/doFlush\", " +
		"    \"name\": \"default\", " +
		"    \"nodeLocator\": \"ketama\", " +<commit_msg>Removed unused imports in VBucketCacheNodeLocatorTest<commit_after>package net.spy.memcached.vbucket;


import java.util.List;
import net.spy.memcached.vbucket.config.DefaultConfigFactory;
import net.spy.memcached.vbucket.config.Config;
import net.spy.memcached.vbucket.config.ConfigFactory;

import junit.framework.TestCase;

public class VBucketCacheNodeLocatorTest extends TestCase {

	private static final String configInEnvelope =
		"{" +
		"    \"authType\": \"sasl\", " +
		"    \"basicStats\": {" +
		"        \"diskUsed\": 0, " +
		"        \"hitRatio\": 0, " +
		"        \"itemCount\": 10001, " +
		"        \"memUsed\": 27007687, " +
		"        \"opsPerSec\": 0, " +
		"        \"quotaPercentUsed\": 10.061147436499596" +
		"    }, " +
		"    \"bucketType\": \"memcached\", " +
		"    \"flushCacheUri\": \"/pools/default/buckets/default/controller/doFlush\", " +
		"    \"name\": \"default\", " +
		"    \"nodeLocator\": \"ketama\", " +
{'fraction_non_alphanumeric': 0.18497700562084823, 'fraction_numerical': 0.03372508942258559, 'mean_word_length': 2.8167641325536064, 'pattern_counts': {'":': 24, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4334641', 'n_tokens_mistral': 748, 'n_tokens_neox': 668, 'n_words': 100}