diff options
-rw-r--r-- | java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml | 5 | ||||
-rw-r--r-- | java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml b/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml index c031477f7c..19fb23cd63 100644 --- a/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml +++ b/java/sca/itest/distribution/webapp-helloworld-jsp/pom.xml @@ -103,13 +103,16 @@ to your local Tomcat installation -->
<cargo.jvmargs><![CDATA[-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y]]></cargo.jvmargs>
<cargo.servlet.port>8085</cargo.servlet.port>
+ <context>helloworld-jsp</context>
</properties>
<deployables>
<deployable>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>helloworld-jsp</artifactId>
<type>war</type>
- <pingURL>http://localhost:8085/helloworld-jsp-xxx</pingURL>
+ <properties>
+ <context>helloworld-jsp</context>
+ </properties>
</deployable>
</deployables>
</configuration>
diff --git a/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java b/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java index 161560ed2b..7bcd590cf0 100644 --- a/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java +++ b/java/sca/itest/distribution/webapp-helloworld-jsp/src/test/java/itest/HelloworldTestCase.java @@ -38,7 +38,7 @@ public class HelloworldTestCase { @Test
public void testA() throws FailingHttpStatusCodeException, MalformedURLException, IOException {
- HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jsp-2.0-SNAPSHOT");
+ HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-jsp");
Iterator<?> ss = page.getAllHtmlChildElements();
ss.next();
ss.next();
|