<commit_before>package org.jreactive.iso8583.example;

import org.junit.Test;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;


public class ClientReconnectIT extends AbstractIT {

    @Test
    public void testClientReconnect() throws Exception {
        assertThat(server.isStarted(), is(true));
        assertThat(client.isConnected(), is(true));
        server.shutdown();
        Thread.sleep(100L);
        assertThat(client.isConnected(), is(false));
        server.start();
        assertThat("server started", server.isStarted(), is(true));
        Thread.sleep(5000L);
        assertThat("client re-connected", client.isConnected(), is(true));
    }
}
<commit_msg>increase reconnect wait interval<commit_after>package org.jreactive.iso8583.example;

import org.junit.Test;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;


public class ClientReconnectIT extends AbstractIT {

    @Test
    public void testClientReconnect() throws Exception {
        assertThat(server.isStarted(), is(true));
        assertThat(client.isConnected(), is(true));
        server.shutdown();
        Thread.sleep(100L);
        assertThat(client.isConnected(), is(false));
        server.start();
        assertThat("server started", server.isStarted(), is(true));
        Thread.sleep(10000L);
        assertThat("client re-connected", client.isConnected(), is(true));
    }
}

{'fraction_non_alphanumeric': 0.12845303867403315, 'fraction_numerical': 0.015883977900552487, 'mean_word_length': 3.674193548387097, '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': '1373124', 'n_tokens_mistral': 428, 'n_tokens_neox': 415, 'n_words': 81}