Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
d9b2bd06
Commit
d9b2bd06
authored
Oct 18, 2017
by
apoorvnaik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2218: Webapp UT and IT separation
parent
749d8bcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
14 deletions
+45
-14
pom.xml
webapp/pom.xml
+45
-14
No files found.
webapp/pom.xml
View file @
d9b2bd06
...
...
@@ -508,7 +508,6 @@
</configuration>
</plugin>
<!-- Running unit tests in pre-integration-test phase after war is built -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
...
...
@@ -517,41 +516,73 @@
<user.dir>
${project.basedir}
</user.dir>
<projectBaseDir>
${project.basedir}/..
</projectBaseDir>
</systemProperties>
<!--<skipTests>true</skipTests> -->
<forkMode>
always
</forkMode>
<redirectTestOutputToFile>
true
</redirectTestOutputToFile>
<argLine>
-Djava.awt.headless=true -Dproject.version=${project.version}
-Dhadoop.tmp.dir=${project.build.directory}/tmp-hadoop-${user.name}
-Xmx1024m -XX:MaxPermSize=512m
</argLine>
<excludes>
<exclude>
**/*Base*
</exclude>
</excludes>
</configuration>
<dependencies>
<dependency>
<groupId>
org.apache.maven.surefire
</groupId>
<artifactId>
surefire-testng
</artifactId>
<version>
2.18.1
</version>
</dependency>
</dependencies>
<executions>
<!-- Needed for explicit separation of UTs, SSL/Kerberos/Secure server tests and ITs-->
<execution>
<id>
default-test
</id>
<configuration>
<skip>
true
</skip>
</configuration>
</execution>
<!-- Unit tests don't rely of WAR being built and don't interact with real server -->
<execution>
<id>
unit-tests
</id>
<phase>
test
</phase>
<goals>
<goal>
test
</goal>
</goals>
<configuration>
<includes>
<include>
**/*Test.java
</include>
</includes>
<excludes>
<exclude>
**/*SSL*.java
</exclude>
<exclude>
**/*Kerberos*.java
</exclude>
<exclude>
**/*Base*.java
</exclude>
<exclude>
**/*Secure*.java
</exclude>
<exclude>
**/*Server*.java
</exclude>
<exclude>
**/*$*.java
</exclude>
</excludes>
</configuration>
</execution>
<!-- Secure tests rely on the generated WAR and (may) start atlas server for tests -->
<!-- Eventually all these server interaction tests need to move to IT phase -->
<execution>
<id>
secure-tests
</id>
<phase>
pre-integration-test
</phase>
<goals>
<goal>
test
</goal>
</goals>
<configuration>
<includes>
<include>
**/*SSL*Test.java
</include>
<include>
**/*Kerberos*Test.java
</include>
<include>
**/*Secure*Test.java
</include>
<include>
**/*Server*Test.java
</include>
<include>
**/*$*.java
</include>
</includes>
<excludes>
<exclude>
**/*Base*.java
</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.eclipse.jetty
</groupId>
<artifactId>
jetty-maven-plugin
</artifactId>
<configuration>
<skip>
${skip
Test
s}
</skip>
<skip>
${skip
IT
s}
</skip>
<!--only skip int tests -->
<httpConnector>
<port>
31000
</port>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment