Optimize build (#1582)

This commit is contained in:
Grzegorz Piwowarek
2017-04-03 18:03:10 +02:00
committed by GitHub
parent 4d08f3db6d
commit e7cc45644e
6 changed files with 50 additions and 29 deletions
+6
View File
@@ -75,6 +75,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
@@ -18,13 +18,13 @@ import static junit.framework.Assert.assertEquals;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes=GemfireConfiguration.class, loader=AnnotationConfigContextLoader.class)
public class EmployeeRepositoryTest {
public class EmployeeRepositoryIntegrationTest {
@Autowired
@Autowired private
EmployeeRepository employeeRepository;
@Autowired
FunctionExecution execution;
private FunctionExecution execution;
@Test
public void whenEmployeeIsSaved_ThenAbleToRead(){