HBASE-4454 Add failsafe plugin to build and rename integration tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1177168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
504762b259
commit
f3cda40473
|
@ -317,8 +317,7 @@ Release 0.92.0 - Unreleased
|
||||||
TESTS
|
TESTS
|
||||||
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
||||||
blocks read and for catching regressions (Kannan)
|
blocks read and for catching regressions (Kannan)
|
||||||
HBASE-4449 LoadIncrementalHFiles should be able to handle CFs with blooms
|
|
||||||
(David Revell)
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||||
HBASE-3292 Expose block cache hit/miss/evict counts into region server
|
HBASE-3292 Expose block cache hit/miss/evict counts into region server
|
||||||
|
@ -550,6 +549,10 @@ Release 0.92.0 - Unreleased
|
||||||
HBASE-4280 [replication] ReplicationSink can deadlock itself via handlers
|
HBASE-4280 [replication] ReplicationSink can deadlock itself via handlers
|
||||||
HBASE-4014 Coprocessors: Flag the presence of coprocessors in logged
|
HBASE-4014 Coprocessors: Flag the presence of coprocessors in logged
|
||||||
exceptions (Eugene Koontz)
|
exceptions (Eugene Koontz)
|
||||||
|
HBASE-4449 LoadIncrementalHFiles should be able to handle CFs with blooms
|
||||||
|
(David Revell)
|
||||||
|
HBASE-4454 Add failsafe plugin to build and rename integration tests
|
||||||
|
(Jesse Yates)
|
||||||
|
|
||||||
TASKS
|
TASKS
|
||||||
HBASE-3559 Move report of split to master OFF the heartbeat channel
|
HBASE-3559 Move report of split to master OFF the heartbeat channel
|
||||||
|
|
65
pom.xml
65
pom.xml
|
@ -257,6 +257,39 @@
|
||||||
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
<version>2.9</version>
|
||||||
|
<configuration>
|
||||||
|
<includes>
|
||||||
|
<include>${integrationtest.include}</include>
|
||||||
|
</includes>
|
||||||
|
<excludes>
|
||||||
|
<exlude>${unittest.include}</exlude>
|
||||||
|
<exclude>**/*$*</exclude>
|
||||||
|
<exclude>${test.exclude.pattern}</exclude>
|
||||||
|
</excludes>
|
||||||
|
<environmentVariables>
|
||||||
|
<LD_LIBRARY_PATH>${env.LD_LIBRARY_PATH}:${project.build.directory}/nativelib</LD_LIBRARY_PATH>
|
||||||
|
<DYLD_LIBRARY_PATH>${env.DYLD_LIBRARY_PATH}:${project.build.directory}/nativelib</DYLD_LIBRARY_PATH>
|
||||||
|
</environmentVariables>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>integration-test</id>
|
||||||
|
<goals>
|
||||||
|
<goal>integration-test</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>verify</id>
|
||||||
|
<goals>
|
||||||
|
<goal>verify</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -468,9 +501,10 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<forkMode>always</forkMode>
|
<forkMode>always</forkMode>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/Test*.java</include>
|
<include>${unittest.include}</include>
|
||||||
</includes>
|
</includes>
|
||||||
<excludes>
|
<excludes>
|
||||||
|
<exclude>${integrationtest.include}</exclude>
|
||||||
<exclude>**/*$*</exclude>
|
<exclude>**/*$*</exclude>
|
||||||
<exclude>${test.exclude.pattern}</exclude>
|
<exclude>${test.exclude.pattern}</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
|
@ -480,6 +514,11 @@
|
||||||
</environmentVariables>
|
</environmentVariables>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<!-- Run integration tests with mvn verify -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.6</version>
|
<version>1.6</version>
|
||||||
|
@ -691,6 +730,11 @@
|
||||||
<!-- For flaky tests exclusion -->
|
<!-- For flaky tests exclusion -->
|
||||||
<test.exclude></test.exclude>
|
<test.exclude></test.exclude>
|
||||||
<test.exclude.pattern>**/${test.exclude}.java</test.exclude.pattern>
|
<test.exclude.pattern>**/${test.exclude}.java</test.exclude.pattern>
|
||||||
|
|
||||||
|
<!-- Test inclusion patterns -->
|
||||||
|
<unittest.include>**/Test*.java</unittest.include>
|
||||||
|
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
||||||
|
@ -1594,6 +1638,25 @@
|
||||||
<artifactId>apache-rat-plugin</artifactId>
|
<artifactId>apache-rat-plugin</artifactId>
|
||||||
<version>0.6</version>
|
<version>0.6</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||||
|
<version>2.9</version>
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<id>integration-tests</id>
|
||||||
|
<reports>
|
||||||
|
<report>report-only</report>
|
||||||
|
</reports>
|
||||||
|
<configuration>
|
||||||
|
<outputName>failsafe-report</outputName>
|
||||||
|
<reportsDirectories>
|
||||||
|
<reportsDirectory>${project.build.directory}/failsafe-reports</reportsDirectory>
|
||||||
|
</reportsDirectories>
|
||||||
|
</configuration>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</reporting>
|
</reporting>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -203,6 +203,12 @@ mvn test -Dtest=org.apache.hadoop.hbase.client.*
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
<section xml:id="integration.tests">
|
||||||
|
<title>Integration Tests</title>
|
||||||
|
<para>HBase 0.92 added a <varname>verify</varname> maven target. Invocation will
|
||||||
|
run a suite of long-running tests via the maven <link xlink:href="http://maven.apache.org/plugins/maven-failsafe-plugin/">failsafe plugin</link>.
|
||||||
|
</para>
|
||||||
|
</section>
|
||||||
<section xml:id="code.standards">
|
<section xml:id="code.standards">
|
||||||
<title>Code Standards</title>
|
<title>Code Standards</title>
|
||||||
<para>See <xref linkend="eclipse.code.formatting"/> and <xref linkend="common.patch.feedback"/>.
|
<para>See <xref linkend="eclipse.code.formatting"/> and <xref linkend="common.patch.feedback"/>.
|
||||||
|
|
Loading…
Reference in New Issue