Author: asoldano
Date: 2014-03-07 05:33:16 -0500 (Fri, 07 Mar 2014)
New Revision: 18473
Modified:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws860/JBWS860TestCase.java
Log:
Fixing test
Modified:
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws860/JBWS860TestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws860/JBWS860TestCase.java 2014-03-07
10:32:48 UTC (rev 18472)
+++
stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws860/JBWS860TestCase.java 2014-03-07
10:33:16 UTC (rev 18473)
@@ -56,6 +56,6 @@
public void testServletAccess() throws Exception
{
- assertEquals("Hello", IOUtils.readAndCloseStream(new
URL("http://" + getServerHost() +
":8080/test/TestServlet").openStream()));
+ assertTrue(IOUtils.readAndCloseStream(new URL("http://" + getServerHost()
+ ":8080/test/TestServlet").openStream()).startsWith("Hello"));
}
}
Show replies by date