jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1574099 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationTest.java
Date Tue, 04 Mar 2014 13:49:18 GMT
Author: mduerig
Date: Tue Mar  4 13:49:18 2014
New Revision: 1574099

URL: http://svn.apache.org/r1574099
Log:
OAK-1491: ObservationTest failure on Windows
Avoid concurrent modification to set of expectations

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationTest.java?rev=1574099&r1=1574098&r2=1574099&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/observation/ObservationTest.java
Tue Mar  4 13:49:18 2014
@@ -854,7 +854,6 @@ public class ObservationTest extends Abs
                     for (Expectation exp : expected) {
                         if (exp.isEnabled() && exp.onEvent(event)) {
                             found = true;
-                            expected.remove(exp);
                             exp.complete(event);
                         }
                     }



Mime
View raw message