Skip to content

Commit 1ee563b

Browse files
authored
Create crt-tests profile (#3097)
1 parent 3408ef7 commit 1ee563b

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

pom.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,46 @@
776776
</build>
777777
</profile>
778778

779+
<profile>
780+
<id>crt-tests</id>
781+
<properties>
782+
<checkstyle.skip>true</checkstyle.skip>
783+
<spotbugs.skip>true</spotbugs.skip>
784+
<skip.unit.tests>true</skip.unit.tests>
785+
<mdep.analyze.skip>true</mdep.analyze.skip>
786+
<japicmp.skip>true</japicmp.skip>
787+
</properties>
788+
<build>
789+
<plugins>
790+
<plugin>
791+
<groupId>org.apache.maven.plugins</groupId>
792+
<artifactId>maven-failsafe-plugin</artifactId>
793+
<version>${maven-failsafe-plugin.version}</version>
794+
<executions>
795+
<execution>
796+
<phase>integration-test</phase>
797+
<goals>
798+
<goal>integration-test</goal>
799+
<goal>verify</goal>
800+
</goals>
801+
<configuration>
802+
<includes>
803+
<include>**/*TransferManager*IntegrationTest.java</include>
804+
<include>**/*Crt*StabilityTest.java</include>
805+
<include>**/*Crt*StabilityTests.java</include>
806+
<include>**/*Crt*IntegrationTest.java</include>
807+
<include>**/*Crt*IntegrationTests.java</include>
808+
</includes>
809+
<trimStackTrace>false</trimStackTrace>
810+
<rerunFailingTestsCount>2</rerunFailingTestsCount>
811+
</configuration>
812+
</execution>
813+
</executions>
814+
</plugin>
815+
</plugins>
816+
</build>
817+
</profile>
818+
779819
<profile>
780820
<id>simple-method-integration-tests</id>
781821
<activation>

services-custom/s3-transfer-manager/src/it/java/software/amazon/awssdk/transfer/s3/S3IntegrationTestBase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ protected static S3AsyncClientBuilder s3AsyncClientBuilder() {
8383

8484
protected static void createBucket(String bucketName) {
8585
createBucket(bucketName, 0);
86+
s3.waiter().waitUntilBucketExists(b -> b.bucket(bucketName));
8687
}
8788

8889
private static void createBucket(String bucketName, int retryCount) {

0 commit comments

Comments
 (0)