Skip to content

Commit 9d735eb

Browse files
committed
BAEL-223: Add Ignore annotation to tests since there is not local dynamoDB instance in cloud environment
1 parent 8dd8cab commit 9d735eb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎spring-data-dynamodb/src/test/java/com/baeldung/spring/data/dynamodb/repository/ProductInfoRepositoryIntegrationTest.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.baeldung.spring.data.dynamodb.model.ProductInfo;
1010
import com.baeldung.spring.data.dynamodb.repositories.ProductInfoRepository;
1111
import org.junit.Before;
12+
import org.junit.Ignore;
1213
import org.junit.Test;
1314
import org.junit.runner.RunWith;
1415
import org.springframework.beans.factory.annotation.Autowired;
@@ -43,6 +44,7 @@ public class ProductInfoRepositoryIntegrationTest {
4344
private static final String EXPECTED_PRICE = "50";
4445

4546
@Before
47+
@Ignore //TODO Remove Ignore annotations when running locally with Local DynamoDB instance
4648
public void setup() throws Exception {
4749

4850
try {
@@ -62,6 +64,7 @@ public void setup() throws Exception {
6264
}
6365

6466
@Test
67+
@Ignore //TODO Remove Ignore annotations when running locally with Local DynamoDB instance
6568
public void givenItemWithExpectedCost_whenRunFindAll_thenItemIsFound() {
6669

6770
ProductInfo productInfo = new ProductInfo(EXPECTED_COST, EXPECTED_PRICE);

0 commit comments

Comments
 (0)