You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2015/10/29 20:06:49 UTC
svn commit: r1711334 -
/sling/trunk/bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java
Author: stefanegli
Date: Thu Oct 29 19:06:49 2015
New Revision: 1711334
URL: http://svn.apache.org/viewvc?rev=1711334&view=rev
Log:
SLING-5216 / SLING-5195 : more test cases added
Modified:
sling/trunk/bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java
Modified: sling/trunk/bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java?rev=1711334&r1=1711333&r2=1711334&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java (original)
+++ sling/trunk/bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/its/AbstractDiscoveryServiceTest.java Thu Oct 29 19:06:49 2015
@@ -43,12 +43,10 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
- this is to get more assurance that things work:
-
- * have an agent that periodically scans getTopology and makes assumptions
- * have a listener that makes assumptions too
- * these two might be able to communicate with each other to make even more assumptions..
- * combine the above with coming and going instances, with slow ones etc etc
+ * This base tests for discovery.impl and .oak simulates instances
+ * that are coming and going, have a slow repository (and other bad-weather
+ * scenarios), and make assumptions on both getTopology() to always be correct
+ * as well as handleTopologyEvent to be properly delivered to.
*/
public abstract class AbstractDiscoveryServiceTest {