Skip to content

Commit

Permalink
use the test.port in the AbstractResourceTest too
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Feb 8, 2013
1 parent 1ccc9bb commit feef2ae
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -8,7 +8,7 @@
@ContextConfiguration("/spring-test/master.xml")
public abstract class AbstractResourceTest extends AbstractTest {

protected static final int SERVER_PORT = 8080;
protected static final int SERVER_PORT = Integer.parseInt(System.getProperty("test.port", "8080"));
protected static final String HOSTNAME = "localhost";
protected static final String serverAddress = "http://" + HOSTNAME + ":"
+ SERVER_PORT + "/rest/";
Expand Down

0 comments on commit feef2ae

Please sign in to comment.