Skip to content

Commit

Permalink
HBASE-29077 Redirect spark-connector-it logs to file by default
Browse files Browse the repository at this point in the history
  • Loading branch information
stoty committed Jan 13, 2025
1 parent abf69b1 commit b4530af
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@
<scoverage.version>1.4.11</scoverage.version>
<sbt-compiler.version>1.0.0</sbt-compiler.version>
<jacoco.version>0.8.8</jacoco.version>
<!-- Default to redirecting test logs
This only applies to the java tests, it's not obvious how get scalatest to do this. -->
<test.output.tofile>true</test.output.tofile>
</properties>
<dependencyManagement>
<dependencies>
Expand Down
16 changes: 16 additions & 0 deletions spark/hbase-spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,22 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
<failIfNoTests>false</failIfNoTests>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit4</artifactId>
<version>${surefire.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit b4530af

Please sign in to comment.