You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by er...@apache.org on 2003/07/21 01:23:55 UTC

cvs commit: xml-axis/java/test/wsdl/multithread MultithreadTestCase.java

ericf       2003/07/20 16:23:55

  Modified:    java/test/wsdl/multithread MultithreadTestCase.java
  Log:
  reduced number of threads created in test from 100 to 50;
  at 100 threads, this test fails on a G4 due to socket
  ConnectExceptions that aren't part of what's being tested.
  
  Revision  Changes    Path
  1.14      +1 -1      xml-axis/java/test/wsdl/multithread/MultithreadTestCase.java
  
  Index: MultithreadTestCase.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/multithread/MultithreadTestCase.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- MultithreadTestCase.java	11 Dec 2002 22:40:21 -0000	1.13
  +++ MultithreadTestCase.java	20 Jul 2003 23:23:55 -0000	1.14
  @@ -115,7 +115,7 @@
           }
           assertTrue("binding is null", binding != null);
           ((AddressBookSOAPBindingStub) binding).setMaintainSession(true);
  -        int NUM_THREADS = 100;
  +        int NUM_THREADS = 50;
           Thread[] threads = new Thread[NUM_THREADS];
           for (int i = 0; i < NUM_THREADS; ++i) {
               threads[i] = new Thread(new Run());