[jboss-remoting-commits] JBoss Remoting SVN: r6318 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Wed Apr 13 16:56:55 EDT 2011
Author: ron.sigal at jboss.com
Date: 2011-04-13 16:56:55 -0400 (Wed, 13 Apr 2011)
New Revision: 6318
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/EmptyURITestCase.java
Log:
JBREM-1280: Changed expected message to be compatible with JBossWeb.
Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/EmptyURITestCase.java
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/EmptyURITestCase.java 2011-04-13 20:55:26 UTC (rev 6317)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/EmptyURITestCase.java 2011-04-13 20:56:55 UTC (rev 6318)
@@ -120,7 +120,7 @@
catch (CannotConnectException e)
{
String message = e.getMessage();
- assertTrue("expected CannotConnectException message to contain \"Invalid URI\"", message != null && message.indexOf("Invalid URI") > 0);
+ assertTrue("expected CannotConnectException message to contain response code \"400\"", message != null && message.indexOf("400") > 0);
log.info("got expected CannotConnectException");
}
catch (Throwable t)
More information about the jboss-remoting-commits
mailing list