moved port for test to 9876
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2537 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
793cb6d6f3
commit
26e82ad779
|
@ -67,7 +67,7 @@ public class TestJettyOSGiBootCore
|
|||
{
|
||||
return Arrays.asList(options(
|
||||
//get the jetty home config from the osgi boot bundle.
|
||||
PaxRunnerOptions.vmOptions("-D" + DefaultJettyAtJettyHomeHelper.SYS_PROP_JETTY_HOME_BUNDLE + "=org.eclipse.jetty.osgi.boot"),
|
||||
PaxRunnerOptions.vmOptions("-D" + DefaultJettyAtJettyHomeHelper.SYS_PROP_JETTY_HOME_BUNDLE + "=org.eclipse.jetty.osgi.boot -Djetty.port=9876"),
|
||||
|
||||
// CoreOptions.equinox(),
|
||||
|
||||
|
@ -169,7 +169,7 @@ public class TestJettyOSGiBootCore
|
|||
client.start();
|
||||
|
||||
ContentExchange getExchange = new ContentExchange();
|
||||
getExchange.setURL("http://localhost:8080/greetings");
|
||||
getExchange.setURL("http://localhost:9876/greetings");
|
||||
getExchange.setMethod(HttpMethods.GET);
|
||||
|
||||
client.send(getExchange);
|
||||
|
|
|
@ -68,7 +68,8 @@ public class TestJettyOSGiBootWithJsp
|
|||
// PaxRunnerOptions.vmOption( "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006" ),
|
||||
|
||||
PaxRunnerOptions.vmOption("-D" + OSGiServerConstants.MANAGED_JETTY_XML_CONFIG_URLS +
|
||||
"=etc/jetty.xml;" + testrealm.getAbsolutePath()),
|
||||
"=etc/jetty.xml;" + testrealm.getAbsolutePath()+
|
||||
" -Djetty.port=9876"),
|
||||
|
||||
mavenBundle().groupId( "org.eclipse.jetty.osgi" ).artifactId( "jetty-osgi-boot" ).versionAsInProject(),
|
||||
mavenBundle().groupId( "org.eclipse.jetty.osgi" ).artifactId( "jetty-osgi-boot-jsp" ).versionAsInProject(),
|
||||
|
@ -118,7 +119,7 @@ public class TestJettyOSGiBootWithJsp
|
|||
client.start();
|
||||
|
||||
ContentExchange getExchange = new ContentExchange();
|
||||
getExchange.setURL("http://localhost:8080/jsp/dump.jsp");
|
||||
getExchange.setURL("http://localhost:9876/jsp/dump.jsp");
|
||||
getExchange.setMethod(HttpMethods.GET);
|
||||
|
||||
client.send(getExchange);
|
||||
|
|
Loading…
Reference in New Issue