Skip to content

Commit

Permalink
added failsafe plugin and moved integration tests to *IT for geenrato…
Browse files Browse the repository at this point in the history
…r-dc
  • Loading branch information
fasseg committed Mar 20, 2013
1 parent adf2d28 commit 2195be1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions fcrepo-generator-dc/pom.xml
Expand Up @@ -83,6 +83,10 @@
<groupId>org.codehaus.enunciate</groupId>
<artifactId>maven-enunciate-cxf-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Expand Up @@ -20,7 +20,7 @@
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
public abstract class AbstractResourceTest {
public abstract class AbstractResourceIT {

protected Logger logger;

Expand All @@ -42,7 +42,7 @@ public void setLogger() {

protected static HttpClient client;

public AbstractResourceTest() {
public AbstractResourceIT() {
connectionManager.setMaxTotal(Integer.MAX_VALUE);
connectionManager.setDefaultMaxPerRoute(5);
connectionManager.closeIdleConnections(3, TimeUnit.SECONDS);
Expand Down
Expand Up @@ -14,7 +14,7 @@
import org.springframework.test.context.ContextConfiguration;

@ContextConfiguration({"/spring-test/generator.xml", "/spring-test/repo.xml"})
public class DublinCoreGeneratorTest extends AbstractResourceTest {
public class DublinCoreGeneratorIT extends AbstractResourceIT {

@Test
public void testJcrPropertiesBasedOaiDc() throws Exception {
Expand Down

0 comments on commit 2195be1

Please sign in to comment.