<commit_before>package org.uli.logging;

import java.io.File;
import java.util.regex.Pattern;

import org.apache.log4j.xml.DOMConfigurator;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

import static org.junit.Assert.*;

public class EverySecondTest {

    @BeforeClass
    static public void setUp() {
        setLog4jXml("src/test/resources/log4j-every-second.xml");
    }

    @AfterClass
    static public void tearDown() {
        setLog4jXml("src/test/resources/log4j.xml");
    }

    private static final void setLog4jXml(final String filename) {
        DOMConfigurator.configure(filename);
    }

    @Test
    public void testEcho() {
        try {
        final int LOOP_COUNT = 5;
        EchoServer echoServer = new EchoServer();
        String echo = echoServer.echo("UliWasHere!");
        assertEquals("UliWasHere!", echo);
        for (int i = 0; i < LOOP_COUNT; i++) {
            try {
                Thread.sleep(1000);<commit_msg>disabled junit test<commit_after>package org.uli.logging;

import java.io.File;
import java.util.regex.Pattern;

import org.apache.log4j.xml.DOMConfigurator;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.Ignore;

import static org.junit.Assert.*;

@Ignore
public class EverySecondTest {

    @BeforeClass
    static public void setUp() {
        setLog4jXml("src/test/resources/log4j-every-second.xml");
    }

    @AfterClass
    static public void tearDown() {
        setLog4jXml("src/test/resources/log4j.xml");
    }

    private static final void setLog4jXml(final String filename) {
        DOMConfigurator.configure(filename);
    }

    @Test
    public void testEcho() {
        try {
        final int LOOP_COUNT = 5;
        EchoServer echoServer = new EchoServer();
        String echo = echoServer.echo("UliWasHere!");
        assertEquals("UliWasHere!", echo);
        for (int i = 0; i < LOOP_COUNT; i++) {
            try {
                Thread.sleep(1000);
{'fraction_non_alphanumeric': 0.11193660227835563, 'fraction_numerical': 0.01188707280832095, 'mean_word_length': 2.7827715355805243, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3139729', 'n_tokens_mistral': 643, 'n_tokens_neox': 620, 'n_words': 138}