Skip to content

Commit 81852f1

Browse files
committed
Removed Tests with external dependencies on sam build. These can be run individually if you have aws config and credentials configured on your machine
1 parent bdd25be commit 81852f1

File tree

1 file changed

+10
-0
lines changed
  • java-test-samples/apigw-lambda-list-s3-buckets

1 file changed

+10
-0
lines changed

java-test-samples/apigw-lambda-list-s3-buckets/pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,16 @@
173173
<plugin>
174174
<artifactId>maven-surefire-plugin</artifactId>
175175
<version>2.22.2</version>
176+
<configuration>
177+
<!-- These tests are excluded from sure fire plugin to avoid failures due to external dependencies.
178+
You can run these tests individually if you have the relevant pre-requisites in place.
179+
Please see README for more information on each test class file.
180+
-->
181+
<excludes>
182+
<exclude>AppTest.java</exclude>
183+
<exclude>AppIntegrationTest.java</exclude>
184+
</excludes>
185+
</configuration>
176186
</plugin>
177187
</plugins>
178188
</build>

0 commit comments

Comments
 (0)