On Thursday 24 August 2017 11:19:23 Robert Munteanu wrote: > Hi, Hi,
> We are using two main ports when dealing with Sling: > > - 8080 for 'regular' instances > - 8888 for 'testing' instances - mainly used in the integration tests > > I usually notice this when I want to try running an IT from my IDE > against a running Sling instance and it times out looking for something > on port 8888 . > > I am not familiar with the reasons for using port 8888, but would it be > worth dropping this port and using 8080 from now on? It would IMO make > development with Sling simpler. > > The changes would be quite localised: > > - code change in > bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/ > integration/HttpTestBase.java > - documentation changes in launchpad and contrib/launchpad > > Thoughts? I guess 8888 was chosen to prevent clashes with other servers running on the same machine and bound to 8080, e.g. Jenkins or regular Sling. Why not use dynamic ports when running tests? Regards, O. > Robert
