aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1719706 - /aries/trunk/jpa/examples/tasklist-blueprint/src/test/java/org/apache/aries/jpa/example/tasklist/blueprint/impl/TaskServiceImplTest.java
Date Sat, 12 Dec 2015 15:46:10 GMT
Author: cschneider
Date: Sat Dec 12 15:46:10 2015
New Revision: 1719706

URL: http://svn.apache.org/viewvc?rev=1719706&view=rev
Log:
[ARIES-1473] Avoid derby.log creation

Modified:
    aries/trunk/jpa/examples/tasklist-blueprint/src/test/java/org/apache/aries/jpa/example/tasklist/blueprint/impl/TaskServiceImplTest.java

Modified: aries/trunk/jpa/examples/tasklist-blueprint/src/test/java/org/apache/aries/jpa/example/tasklist/blueprint/impl/TaskServiceImplTest.java
URL: http://svn.apache.org/viewvc/aries/trunk/jpa/examples/tasklist-blueprint/src/test/java/org/apache/aries/jpa/example/tasklist/blueprint/impl/TaskServiceImplTest.java?rev=1719706&r1=1719705&r2=1719706&view=diff
==============================================================================
--- aries/trunk/jpa/examples/tasklist-blueprint/src/test/java/org/apache/aries/jpa/example/tasklist/blueprint/impl/TaskServiceImplTest.java
(original)
+++ aries/trunk/jpa/examples/tasklist-blueprint/src/test/java/org/apache/aries/jpa/example/tasklist/blueprint/impl/TaskServiceImplTest.java
Sat Dec 12 15:46:10 2015
@@ -34,6 +34,8 @@ import org.junit.Test;
 public class TaskServiceImplTest {
     @Test
     public void testPersistence() {
+        // Avoid creating derby.log
+        System.setProperty("derby.stream.error.field", "MyApp.DEV_NULL");
         TaskServiceImpl taskServiceImpl = new TaskServiceImpl();
         EntityManagerFactory emf = createTestEMF();
         final EntityManager em = emf.createEntityManager();



Mime
View raw message