[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/marshall ...

Manik Surtani msurtani at jboss.com
Thu Feb 1 11:31:33 EST 2007


  User: msurtani
  Date: 07/02/01 11:31:33

  Modified:    tests/functional/org/jboss/cache/marshall 
                        JBossSerializationTest.java
  Log:
  runs the test for longer to create a more accurate test
  
  Revision  Changes    Path
  1.7       +4 -4      JBossCache/tests/functional/org/jboss/cache/marshall/JBossSerializationTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JBossSerializationTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/JBossSerializationTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- JBossSerializationTest.java	2 Nov 2006 09:44:38 -0000	1.6
  +++ JBossSerializationTest.java	1 Feb 2007 16:31:33 -0000	1.7
  @@ -79,10 +79,10 @@
   
         long start = 0;
   
  -      for (int i = 0; i < 50000; i++)
  +      for (int i = 0; i < 500000; i++)
         {
            out.reset();
  -         if (i == 1000)
  +         if (i == 10000)
            {
               start = System.currentTimeMillis();
            }
  @@ -108,10 +108,10 @@
         assertTrue("Should be false", ObjectSerializationFactory.useJBossSerialization);
   
         start = 0;
  -      for (int i = 0; i < 50000; i++)
  +      for (int i = 0; i < 500000; i++)
         {
            out.reset();
  -         if (i == 1000)
  +         if (i == 10000)
            {
               start = System.currentTimeMillis();
            }
  
  
  



More information about the jboss-cvs-commits mailing list