[jboss-remoting-commits] JBoss Remoting SVN: r6231 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/chunked.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri Jan 28 19:52:53 EST 2011


Author: ron.sigal at jboss.com
Date: 2011-01-28 19:52:53 -0500 (Fri, 28 Jan 2011)
New Revision: 6231

Modified:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java
Log:
JBREM-1271: Added metadata.

Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java	2011-01-29 00:47:50 UTC (rev 6230)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java	2011-01-29 00:52:53 UTC (rev 6231)
@@ -136,6 +136,11 @@
       port = PortUtil.findFreePort(host);
       locatorURI = getTransport() + "://" + host + ":" + port;
       locatorURI += "/?chunkedLength=10";
+      String metadata = System.getProperty("remoting.metadata");
+      if (metadata != null)
+      {
+         locatorURI += "&" + metadata;
+      }
       serverLocator = new InvokerLocator(locatorURI);
       log.info("Starting remoting server with locator uri of: " + locatorURI);
       HashMap config = new HashMap();



More information about the jboss-remoting-commits mailing list