jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1494593 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
Date Wed, 19 Jun 2013 12:52:33 GMT
Author: mduerig
Date: Wed Jun 19 12:52:33 2013
New Revision: 1494593

URL: http://svn.apache.org/r1494593
Log:
OAK-144 Implement Observation
simplify observation tests: use method parameters of getMissing instead of hard coded values

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java?rev=1494593&r1=1494592&r2=1494593&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/RepositoryTest.java
Wed Jun 19 12:52:33 2013
@@ -2200,7 +2200,7 @@ public class RepositoryTest extends Abst
                 throws ExecutionException, InterruptedException {
             List<String> missing = Lists.newArrayList();
             try {
-                Futures.allAsList(expected.values()).get(2, TimeUnit.SECONDS);
+                Futures.allAsList(expected.values()).get(time, timeUnit);
             }
             catch (TimeoutException e) {
                 for (Entry<String, SettableFuture<Event>> entry : expected.entrySet())
{



Mime
View raw message