AnsweredAssumed Answered

How can we configure Integration Tests to run on a different port?

Question asked by josh_barrett on Jun 8, 2018

I am trying to run all of my Integration tests as part of my build on my Jenkins server.   The problem is my Jenkins server is running on port 8080.


I noticed that I should be able to set the following annotation to use a different port in my tests.


@Remote(endpoint = "http://localhost:8080/alfresco")
public class DemoComponentIT extends AbstractAlfrescoIT {

I tried to do the following without any luck .  


@Remote(endpoint = "${configFromGlobalProperties})


Didn't work.   Is there a way to do this so I can make my tests configurable.   I figured out how to change the servers port by updating the parent pom.



I am hoping there is a way to make this configurable.