[hornetq-commits] JBoss hornetq SVN: r10288 - branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Mar 3 18:51:36 EST 2011


Author: clebert.suconic at jboss.com
Date: 2011-03-03 18:51:36 -0500 (Thu, 03 Mar 2011)
New Revision: 10288

Modified:
   branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/NettySecurityClientTest.java
Log:
Adding logs to a security test

Modified: branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/NettySecurityClientTest.java
===================================================================
--- branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/NettySecurityClientTest.java	2011-03-03 23:51:02 UTC (rev 10287)
+++ branches/Branch_2_2_EAP/tests/src/org/hornetq/tests/integration/security/NettySecurityClientTest.java	2011-03-03 23:51:36 UTC (rev 10288)
@@ -104,15 +104,19 @@
 
       // spawn a JVM that creates a client withor without a security manager which sends and receives a test message
       Process p = SpawnedVMSupport.spawnVM(SimpleClient.class.getName(),
+                                           "-Xms512m -Xmx512m ",
                                            vmargs,
                                            false,
+                                           true,
                                            new String[] { NettyConnectorFactory.class.getName() });
 
       InputStreamReader isr = new InputStreamReader(p.getInputStream());
+      
       BufferedReader br = new BufferedReader(isr);
       String line = null;
       while ((line = br.readLine()) != null)
       {
+         //System.out.println(line);
          line = line.replace('|', '\n');
          if (line.startsWith("Listening"))
          {



More information about the hornetq-commits mailing list