/
pom.xml
132 lines (119 loc) · 6.26 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?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>
<!--
Maintain separation between the artifact id and the version to help prevent
merge conflicts between commits changing the GA and those changing the V.
-->
<version>19.0.0.Beta1-SNAPSHOT</version>
</parent>
<!-- ********************************************************************************** -->
<!-- ************************* Multi-node Integration Tests *************************** -->
<!-- ********************************************************************************** -->
<artifactId>wildfly-ts-integ-multinode</artifactId>
<name>WildFly Test Suite: Integration - Multinode Tests</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>
<!-- todo,
Enable elytron script only runs on "wildfly" instance of server, other copies are not affected.
Since we updated this testsuite to reuse "wildfly" server instance for server itself instead of making extra copy
Test DynamicJNDIContextEJBInvocationTestCase started failing,
which would indicate that this test in combination with enabled elytron has issues
Maybe problem is just related that elytron should be enabled on both instances or it even lies somewhere else.
We disable eyltron script execution by setting script to non-existing.
-->
<ts.elytron.cli>multinode-setup.cli</ts.elytron.cli>
</properties>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-ejb-client</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.ejb3</groupId>
<artifactId>jboss-ejb3-ext-api</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<!-- ********************************************************************************** -->
<!-- **** Multi-node tests ********* -->
<!-- ********************************************************************************** -->
<profile>
<id>multinode.integration.tests.profile</id>
<activation>
<property>
<name>!noMultinode</name>
</property>
</activation>
<properties>
</properties>
<!--
Server configuration executions.
Naming convention for executions (which we read in the log): for server config X, call it X.server
-->
<build>
<plugins>
<!-- Build the target/jbossts server configuration. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-test-resources</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<target>
<!-- Build the UDP server configs in target. -->
<ant antfile="${jbossas.ts.integ.dir}/src/test/scripts/multinode-build.xml">
<property name="node1" value="${node1}"/>
<property name="node0" value="${node0}"/>
<target name="build-multinode"/>
</ant>
</target>
</configuration>
</plugin>
<!-- Surefire. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Parameters to test cases. -->
<systemPropertyVariables combine.children="append">
<arquillian.launch>multinode</arquillian.launch>
<jboss.server.config.file.name>standalone.xml</jboss.server.config.file.name>
<!-- EJB client library hack, see WFLY-4973-->
<org.jboss.ejb.client.wildfly-testsuite-hack>true</org.jboss.ejb.client.wildfly-testsuite-hack>
<jbossas.multinode.client>${basedir}/target/jbossas-multinode-client</jbossas.multinode.client>
<jbossas.multinode.server>${basedir}/target/wildfly</jbossas.multinode.server>
<server.jvm2.args>${surefire.system.args} -Dmaven.repo.local=${settings.localRepository} ${jvm.args.ip} -Djboss.bind.address=${node1} -Djboss.bind.address.management=${node1} -Djboss.bind.address.unsecure=${node1} -Dnode0=${node0} -Dnode1=${node1} -Djboss.socket.binding.port-offset=100</server.jvm2.args>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>