<commit_before>package net.dempsy;

import static net.dempsy.util.Functional.reverseRange;
import static net.dempsy.util.Functional.uncheck;
import static net.dempsy.utils.test.ConditionPoll.poll;
import static net.dempsy.utils.test.ConditionPoll.qpoll;
import static org.junit.Assert.assertTrue;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
import java.util.stream.Collectors;

import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import org.slf4j.Logger;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import net.dempsy.cluster.ClusterInfoSessionFactory;
import net.dempsy.cluster.local.LocalClusterSessionFactory;
import net.dempsy.config.Cluster;
import net.dempsy.config.Node;
import net.dempsy.serialization.util.ClassTracker;
import net.dempsy.transport.blockingqueue.BlockingQueueAddress;
import net.dempsy.utils.test.SystemPropertyManager;

@RunWith(Parameterized.class)
public abstract class DempsyBaseTest {
    /**
    * Setting 'hardcore' to true causes EVERY SINGLE IMPLEMENTATION COMBINATION to be used in
    * every runAllCombinations call. This can make tests run for a loooooong time.
    */
    public static boolean hardcore = true;

    protected Logger LOGGER;

    /**
     * Contains a generic node specification. It needs to following variables set:
     * 
     * <ul>
     * <li>routing-strategy - set the to the routing strategy id. </li>
     * <li>container-type - set to the container type id </li>
     * </ul>
     * 
     * <p>It autowires all of the {@link Cluster}'s that appear in the same context.</p><commit_msg>disable 'hardcore' tests because they take too long.<commit_after>package net.dempsy;

import static net.dempsy.util.Functional.reverseRange;
import static net.dempsy.util.Functional.uncheck;
import static net.dempsy.utils.test.ConditionPoll.poll;
import static net.dempsy.utils.test.ConditionPoll.qpoll;
import static org.junit.Assert.assertTrue;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
import java.util.stream.Collectors;

import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import org.slf4j.Logger;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import net.dempsy.cluster.ClusterInfoSessionFactory;
import net.dempsy.cluster.local.LocalClusterSessionFactory;
import net.dempsy.config.Cluster;
import net.dempsy.config.Node;
import net.dempsy.serialization.util.ClassTracker;
import net.dempsy.transport.blockingqueue.BlockingQueueAddress;
import net.dempsy.utils.test.SystemPropertyManager;

@RunWith(Parameterized.class)
public abstract class DempsyBaseTest {
    /**
    * Setting 'hardcore' to true causes EVERY SINGLE IMPLEMENTATION COMBINATION to be used in
    * every runAllCombinations call. This can make tests run for a loooooong time.
    */
    public static boolean hardcore = false;

    protected Logger LOGGER;

    /**
     * Contains a generic node specification. It needs to following variables set:
     * 
     * <ul>
     * <li>routing-strategy - set the to the routing strategy id. </li>
     * <li>container-type - set to the container type id </li>
     * </ul>
     * 
     * <p>It autowires all of the {@link Cluster}'s that appear in the same context.</p>
{'fraction_non_alphanumeric': 0.09466292134831461, 'fraction_numerical': 0.0005617977528089888, 'mean_word_length': 4.453292496171516, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '7249852', 'n_tokens_mistral': 1058, 'n_tokens_neox': 1047, 'n_words': 274}