Skip to content

Commit

Permalink
Move Iceberg failure recovery test to separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk committed Feb 23, 2022
1 parent 8d5a243 commit 0086df8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ jobs:
- ":trino-kudu"
- ":trino-druid"
- ":trino-iceberg"
- ":trino-iceberg -P test-failure-recovery"
- ":trino-phoenix,:trino-phoenix5"
- ":trino-jdbc,:trino-base-jdbc,:trino-thrift,:trino-memory"
timeout-minutes: 60
Expand Down
29 changes: 29 additions & 0 deletions plugin/trino-iceberg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,16 @@
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/TestIceberg*FailureRecoveryTest.java</exclude>
</excludes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down Expand Up @@ -337,5 +347,24 @@
</plugins>
</build>
</profile>

<profile>
<id>test-failure-recovery</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Failure recovery tests spend most of the time waiting for a retry -->
<threadCount>4</threadCount>
<includes>
<include>**/TestIceberg*FailureRecoveryTest.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 0086df8

Please sign in to comment.