Author: aadamchik
Date: Sat Oct 20 23:53:33 2012
New Revision: 1400537
URL: http://svn.apache.org/viewvc?rev=1400537&view=rev
Log:
allowing for slower hardware to finish the deadlock test
Modified:
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextDataChannelEventsTest.java
Modified:
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextDataChannelEventsTest.java
URL:
http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextDataChannelEventsTest.java?rev=1400537&r1=1400536&r2=1400537&view=diff
==============================================================================
---
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextDataChannelEventsTest.java
(original)
+++
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/access/DataContextDataChannelEventsTest.java
Sat Oct 20 23:53:33 2012
@@ -65,7 +65,7 @@ public class DataContextDataChannelEvent
assertFalse(listener.graphChanged);
assertFalse(listener.graphRolledBack);
}
- }.runTest(1000);
+ }.runTest(10000);
}
@@ -88,7 +88,7 @@ public class DataContextDataChannelEvent
assertFalse(listener.graphChanged);
assertTrue(listener.graphRolledBack);
}
- }.runTest(1000);
+ }.runTest(10000);
}
public void testChangeEventOnChildChange() throws Exception {
@@ -114,7 +114,7 @@ public class DataContextDataChannelEvent
assertTrue(listener.graphChanged);
assertFalse(listener.graphRolledBack);
}
- }.runTest(1000);
+ }.runTest(10000);
}
public void testChangeEventOnPeerChange() throws Exception {
@@ -138,7 +138,7 @@ public class DataContextDataChannelEvent
assertTrue(listener.graphChanged);
assertFalse(listener.graphRolledBack);
}
- }.runTest(1000);
+ }.runTest(10000);
}
public void testChangeEventOnPeerChangeSecondNestingLevel() throws
Exception {
@@ -166,7 +166,7 @@ public class DataContextDataChannelEvent
assertTrue(listener.graphChanged);
assertFalse(listener.graphRolledBack);
}
- }.runTest(1000);
+ }.runTest(10000);
}
class MockChannelListener implements DataChannelListener {