<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-ts-integ</artifactId>
        <version>8.0.0.Final-SNAPSHOT</version>
    </parent>

    <!-- ********************************************************************************** -->
    <!-- *********************************** Clustering *********************************** -->
    <!-- ********************************************************************************** -->
    <artifactId>wildfly-ts-integ-clust</artifactId>

    <name>WildFly Test Suite: Integration - Clustering</name>

    <properties>
        <jbossas.ts.integ.dir>${basedir}/..</jbossas.ts.integ.dir>
        <jbossas.ts.dir>${jbossas.ts.integ.dir}/..</jbossas.ts.dir>
        <jbossas.project.dir>${jbossas.ts.dir}/..</jbossas.project.dir>
    </properties>

    <profiles>

        <profile>
            <id>clustering.integration.tests.profile</id>
            <activation><property><name>!ts.noClustering</name></property></activation>

            <!--
                Server configuration executions.
            -->
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <executions combine.children="append">
                            <execution>
                                <id>ts.config-as.clust</id>
                                <phase>process-test-resources</phase>
                                <goals><goal>run</goal></goals>
                                <configuration>
                                    <target>
                                        <echo>In Maven: node0: ${node0}</echo>
                                        <echo>In Maven: node1: ${node1}</echo>
                                        <echo>In Maven: mcast: ${mcast}</echo>
                                        <!-- Build the TCP server configs in target/ . -->
                                        <ant antfile="${basedir}/../src/test/scripts/clustering-build.xml">
                                            <property name="node0" value="${node0}"/> <!-- inheritAll="true" doesn't work. -->
                                            <property name="node1" value="${node1}"/>
                                            <property name="mcast" value="${mcast}"/>
                                            <property name="cacheLoader" value="binary-keyed" />
                                            <property name="cacheType" value="replicated" />
                                            <property name="mode" value="${cacheMode}" />
                                            <target name="build-clustering"/>
                                        </ant>
                                    </target>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>

                    <!--
                       Surefire test executions.
                    -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>${version.surefire.plugin}</version>
                        <executions combine.children="append">

                            <!-- Disable default-test execution. -->
                            <execution>
                                <id>default-test</id>
                                <goals><goal>test</goal></goals>
                                <phase>none</phase>
                            </execution>

                            <!-- TCP clustering tests with custom containers with manual deployments. -->
                            <execution>
                                <id>ts.surefire.clust.custom-manual-tcp-sync</id>
                                <phase>test</phase>
                                <goals><goal>test</goal></goals>
                                <configuration>
                                    <!-- Force the order of tests -->
                                    <runOrder>reversealphabetical</runOrder>

                                    <!-- Tests to execute. -->
                                    <includes>
                                        <include>org/jboss/as/test/clustering/cluster/**/*TestCase.java</include>
                                    </includes>

                                    <!-- Parameters to test cases. -->
                                    <systemPropertyVariables combine.children="append">
                                        <arquillian.launch>clustering-all</arquillian.launch>
                                        <!-- Use combine.children="append" to pick up parent properties automatically. -->
                                        <jboss.server.config.file.name>${standalone.ha.xml}</jboss.server.config.file.name>
                                        <cacheMode>SYNC</cacheMode>
                                        <stack>tcp</stack>
                                    </systemPropertyVariables>

                                    <!-- Differentiate surefire TCP and UDP reports. -->
                                    <reportNameSuffix>SYNC-tcp</reportNameSuffix>
                                </configuration>
                            </execution>

                            <!-- Single node clustering tests. TODO: move from clustering TS. -->
                            <execution><commit_msg>[WFLY-215] Clustering tests leave a hanging instance if they are run in opposite order<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-ts-integ</artifactId>
        <version>8.0.0.Final-SNAPSHOT</version>
    </parent>

    <!-- ********************************************************************************** -->
    <!-- *********************************** Clustering *********************************** -->
    <!-- ********************************************************************************** -->
    <artifactId>wildfly-ts-integ-clust</artifactId>

    <name>WildFly Test Suite: Integration - Clustering</name>

    <properties>
        <jbossas.ts.integ.dir>${basedir}/..</jbossas.ts.integ.dir>
        <jbossas.ts.dir>${jbossas.ts.integ.dir}/..</jbossas.ts.dir>
        <jbossas.project.dir>${jbossas.ts.dir}/..</jbossas.project.dir>
    </properties>

    <profiles>

        <profile>
            <id>clustering.integration.tests.profile</id>
            <activation><property><name>!ts.noClustering</name></property></activation>

            <!--
                Server configuration executions.
            -->
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <executions combine.children="append">
                            <execution>
                                <id>ts.config-as.clust</id>
                                <phase>process-test-resources</phase>
                                <goals><goal>run</goal></goals>
                                <configuration>
                                    <target>
                                        <echo>In Maven: node0: ${node0}</echo>
                                        <echo>In Maven: node1: ${node1}</echo>
                                        <echo>In Maven: mcast: ${mcast}</echo>
                                        <!-- Build the TCP server configs in target/ . -->
                                        <ant antfile="${basedir}/../src/test/scripts/clustering-build.xml">
                                            <property name="node0" value="${node0}"/> <!-- inheritAll="true" doesn't work. -->
                                            <property name="node1" value="${node1}"/>
                                            <property name="mcast" value="${mcast}"/>
                                            <property name="cacheLoader" value="binary-keyed" />
                                            <property name="cacheType" value="replicated" />
                                            <property name="mode" value="${cacheMode}" />
                                            <target name="build-clustering"/>
                                        </ant>
                                    </target>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>

                    <!--
                       Surefire test executions.
                    -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>${version.surefire.plugin}</version>
                        <executions combine.children="append">

                            <!-- Disable default-test execution. -->
                            <execution>
                                <id>default-test</id>
                                <goals><goal>test</goal></goals>
                                <phase>none</phase>
                            </execution>

                            <!-- TCP clustering tests with custom containers with manual deployments. -->
                            <execution>
                                <id>ts.surefire.clust.custom-manual-tcp-sync</id>
                                <phase>test</phase>
                                <goals><goal>test</goal></goals>
                                <configuration>
                                    <!-- Tests to execute. -->
                                    <includes>
                                        <include>org/jboss/as/test/clustering/cluster/**/*TestCase.java</include>
                                    </includes>

                                    <!-- Parameters to test cases. -->
                                    <systemPropertyVariables combine.children="append">
                                        <arquillian.launch>clustering-all</arquillian.launch>
                                        <!-- Use combine.children="append" to pick up parent properties automatically. -->
                                        <jboss.server.config.file.name>${standalone.ha.xml}</jboss.server.config.file.name>
                                        <cacheMode>SYNC</cacheMode>
                                        <stack>tcp</stack>
                                    </systemPropertyVariables>

                                    <!-- Differentiate surefire TCP and UDP reports. -->
                                    <reportNameSuffix>SYNC-tcp</reportNameSuffix>
                                </configuration>
                            </execution>

                            <!-- Single node clustering tests. TODO: move from clustering TS. -->
                            <execution>
{'fraction_non_alphanumeric': 0.15632629009175855, 'fraction_numerical': 0.005471841064062632, 'mean_word_length': 1.0415879017013232, 'pattern_counts': {'":': 0, '<': 274, '<?xml version=': 2, '>': 274, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 87, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7302547', 'n_tokens_mistral': 2765, 'n_tokens_neox': 2455, 'n_words': 360}