From e95d1e2908e2a2f2917a2e0042f4f0e45b770e75 Mon Sep 17 00:00:00 2001 From: Chris Anatalio Date: Thu, 13 Oct 2016 07:54:58 -0700 Subject: [PATCH] @BeforeClass annotation and made setUp() method static --- .../es/repository/ProductInfoRepositoryIntegrationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-data-dynamodb/src/test/java/com/baeldung/spring/data/es/repository/ProductInfoRepositoryIntegrationTest.java b/spring-boot-data-dynamodb/src/test/java/com/baeldung/spring/data/es/repository/ProductInfoRepositoryIntegrationTest.java index 43369d3254..2421505acd 100644 --- a/spring-boot-data-dynamodb/src/test/java/com/baeldung/spring/data/es/repository/ProductInfoRepositoryIntegrationTest.java +++ b/spring-boot-data-dynamodb/src/test/java/com/baeldung/spring/data/es/repository/ProductInfoRepositoryIntegrationTest.java @@ -48,9 +48,9 @@ public class ProductInfoRepositoryIntegrationTest { private static final String EXPECTED_COST = "20"; private static final String EXPECTED_PRICE = "50"; - @Before + @BeforeClass @Ignore - public void setUp() throws Exception { + public static void setUp() throws Exception { try { dynamoDBMapper = new DynamoDBMapper(amazonDynamoDB);