Author: ron.sigal(a)jboss.com
Date: 2008-10-02 01:03:29 -0400 (Thu, 02 Oct 2008)
New Revision: 4591
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java
Log:
JBREM-1037: Gets serialization type from metadata.
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java
===================================================================
---
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java 2008-10-02
04:51:58 UTC (rev 4590)
+++
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/http/chunked/ChunkedUnmarshallingTestCase.java 2008-10-02
05:03:29 UTC (rev 4591)
@@ -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();
Show replies by date