CVS update: JGroups/tests/perf/org/jgroups/tests/perf Test.java

"Bela Ban" <[email protected]> Tue, 14 Sep 2010 07:52:09 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/09/14 07:52:09

  Modified:    tests/perf/org/jgroups/tests/perf Test.java
  Log:
  ns
  
  Revision  Changes    Path
  1.72      +3 -0      JGroups/tests/perf/org/jgroups/tests/perf/Test.java
  
  Index: Test.java
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/tests/perf/org/jgroups/tests/perf/Test.java,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- Test.java	10 Sep 2010 10:13:20 -0000	1.71
  +++ Test.java	14 Sep 2010 07:52:09 -0000	1.72
  @@ -172,6 +172,9 @@
           tmp2=this.config.getProperty("log_interval");
           if(tmp2 != null)
               log_interval=Long.parseLong(tmp2);
  +        else {
  +            log_interval=num_msgs / 10;
  +        }
   
           if(num_threads > 0 && log_interval % num_threads != 0)
               throw new IllegalArgumentException("log_interval (" + log_interval + ") must be divisible by num_threads (" + num_threads + ")");
  
  
  

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev