Class SlingInstanceManager

  • All Implemented Interfaces:
    Iterable<SlingInstance>

    public class SlingInstanceManager
    extends Object
    implements Iterable<SlingInstance>
    Helper class for running tests against multiple Sling instances, takes care of starting the Sling instances and waiting for them to be ready.
    • Constructor Detail

      • SlingInstanceManager

        public SlingInstanceManager​(String... instanceNames)
                             throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • SlingInstanceManager

        public SlingInstanceManager​(Properties systemProperties,
                                    String... instanceNames)
                             throws org.apache.sling.testing.clients.ClientException
        Get configuration but do not start server yet, that's done on demand
        Throws:
        org.apache.sling.testing.clients.ClientException