Skip to content

Commit

Permalink
[dbs-leipzig#1452] configure test execution in gradoop-store
Browse files Browse the repository at this point in the history
  * Add default profile in gradoop-accumulo pom to control exection of
  integration tests
  * Add integration profile to gradoop-hbase pom
  * fix typo
  • Loading branch information
Lucas Schons committed Dec 6, 2019
1 parent 63042a8 commit 7de2e71
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 7 deletions.
42 changes: 36 additions & 6 deletions gradoop-store/gradoop-accumulo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,42 @@
</properties>

<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>${accumuloTestSuite}</include>
</includes>
<excludedGroups>org.gradoop.storage.impl.accumulo.IntegrationTests</excludedGroups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>integration</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>${accumuloTestSuite}</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
Expand Down Expand Up @@ -72,12 +108,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>${accumuloTestSuite}</include>
</includes>
<excludedGroups>org.gradoop.storage.impl.accumulo.IntegrationTests</excludedGroups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import static org.gradoop.storage.accumulo.config.GradoopAccumuloConfig.ZOOKEEPER_HOSTS;

/**
* gradoop accumulo test suit
* gradoop accumulo test suite
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
Expand Down
22 changes: 22 additions & 0 deletions gradoop-store/gradoop-hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,28 @@
<description>Read/write graphs from/to HBase</description>

<profiles>
<profile>
<id>integration</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>gradoop-hbase-testng.xml</suiteXmlFile>
</suiteXmlFiles>
<properties>
<property>
<name>surefire.testng.verbose</name>
<value>2</value>
</property>
</properties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
Expand Down

0 comments on commit 7de2e71

Please sign in to comment.