jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1574059 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationRefreshTest.java
Date Tue, 04 Mar 2014 12:35:25 GMT
Author: mduerig
Date: Tue Mar  4 12:35:25 2014
New Revision: 1574059

URL: http://svn.apache.org/r1574059
Log:
OAK-1267: Failure in ObservationRefreshTest
Temporarily increase timeout to preclude false negatives

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationRefreshTest.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationRefreshTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationRefreshTest.java?rev=1574059&r1=1574058&r2=1574059&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationRefreshTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationRefreshTest.java
Tue Mar  4 12:35:25 2014
@@ -66,7 +66,7 @@ public class ObservationRefreshTest exte
     private static final String TEST_PATH = '/' + TEST_NODE;
     private static final String TEST_TYPE = "mix:test";
 
-    private static final long CONDITION_TIMEOUT = 30000;
+    private static final long CONDITION_TIMEOUT = 10*60*1000;
 
     private Session observingSession;
     private ObservationManager observationManager;
@@ -128,7 +128,7 @@ public class ObservationRefreshTest exte
                 n.getSession().save();
             }
             assertTrue("Gave up waiting for events",
-                Timer.waitFor(CONDITION_TIMEOUT , new Condition() {
+                Timer.waitFor(CONDITION_TIMEOUT, new Condition() {
                     @Override
                     public boolean evaluate() {
                         return listener.numRemoved == 1000;
@@ -142,7 +142,7 @@ public class ObservationRefreshTest exte
                 n.getSession().save();
             }
             assertTrue("Gave up waiting for events",
-                Timer.waitFor(CONDITION_TIMEOUT , new Condition() {
+                Timer.waitFor(CONDITION_TIMEOUT, new Condition() {
                     @Override
                     public boolean evaluate() {
                         return listener.numPropsAdded == 1100;
@@ -156,7 +156,7 @@ public class ObservationRefreshTest exte
                 n.getSession().save();
             }
             assertTrue("Gave up waiting for events",
-                Timer.waitFor(CONDITION_TIMEOUT , new Condition() {
+                Timer.waitFor(CONDITION_TIMEOUT, new Condition() {
                     @Override
                     public boolean evaluate() {
                         return listener.numPropsModified == 100;
@@ -192,7 +192,7 @@ public class ObservationRefreshTest exte
                 n.getSession().save();
             }
             assertTrue("Gave up waiting for events",
-                Timer.waitFor(CONDITION_TIMEOUT , new Condition() {
+                Timer.waitFor(CONDITION_TIMEOUT, new Condition() {
                     @Override
                     public boolean evaluate() {
                         return listener.numPropsRemoved == 1100;



Mime
View raw message