You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2006/10/15 04:40:58 UTC

svn commit: r464100 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java

Author: aadamchik
Date: Sat Oct 14 19:40:57 2006
New Revision: 464100

URL: http://svn.apache.org/viewvc?view=rev&rev=464100
Log:
added cache cleanup step to remove interferance from other tests

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java?view=diff&rev=464100&r1=464099&r2=464100
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/test/java/org/apache/cayenne/CayenneContextWithDataContextTst.java Sat Oct 14 19:40:57 2006
@@ -102,7 +102,11 @@
     }
 
     public void testCreateBadFault() throws Exception {
+        deleteTestData();
         createTestData("prepare");
+        
+        // this clears domain cache
+        createDataContext();
 
         TestLocalConnection connection = new TestLocalConnection(new ClientServerChannel(
                 getDomain()), LocalConnection.HESSIAN_SERIALIZATION);