<commit_before>package com.dev9.mvnwatcher;

import com.dev9.mvnwatcher.WatcherMojo;
import org.junit.After;
import org.junit.Test;

import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;

public class BuildRestartTest {

    MvnRunner runner;

    @Test
    public void simpleBootTest() throws IOException, InterruptedException {
        String cwd = Paths.get("").toAbsolutePath().toString();

        Path projectPath = Paths.get(cwd, "target", "test-classes", "sample-project");
        Path targetPath = Paths.get(cwd, "target", "test-classes", "sample-project", "target");

        MvnRunner runner = new MvnRunner(projectPath, targetPath, new WatcherMojo().getDefaultTasks());

        runner.start();

        Thread.sleep(10000);
    }

    @After
    public void shutdown() {
        if (runner != null)
            runner.stop();
    }


}<commit_msg>Lowered sleep time.<commit_after>package com.dev9.mvnwatcher;

import com.dev9.mvnwatcher.WatcherMojo;
import org.junit.After;
import org.junit.Test;

import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;

public class BuildRestartTest {

    MvnRunner runner;

    @Test
    public void simpleBootTest() throws IOException, InterruptedException {
        String cwd = Paths.get("").toAbsolutePath().toString();

        Path projectPath = Paths.get(cwd, "target", "test-classes", "sample-project");
        Path targetPath = Paths.get(cwd, "target", "test-classes", "sample-project", "target");

        MvnRunner runner = new MvnRunner(projectPath, targetPath, new WatcherMojo().getDefaultTasks());

        runner.start();

        Thread.sleep(5000);
    }

    @After
    public void shutdown() {
        if (runner != null)
            runner.stop();
    }


}
{'fraction_non_alphanumeric': 0.13053221288515407, 'fraction_numerical': 0.007282913165266107, 'mean_word_length': 3.272727272727273, 'pattern_counts': {'":': 0, '<': 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': '4150079', 'n_tokens_mistral': 569, 'n_tokens_neox': 538, 'n_words': 120}