hammant     2003/02/08 07:20:36

  Modified:    altrmi/src/test/org/apache/excalibur/altrmi/client/impl/naming
                        DefaultContextTestCase.java
  Log:
  fix failing test.
  
  Revision  Changes    Path
  1.3       +16 -0     
avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/client/impl/naming/DefaultContextTestCase.java
  
  Index: DefaultContextTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/client/impl/naming/DefaultContextTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultContextTestCase.java       2 Feb 2003 14:10:07 -0000       1.2
  +++ DefaultContextTestCase.java       8 Feb 2003 15:20:36 -0000       1.3
  @@ -44,6 +44,14 @@
           }
           finally
           {
  +            try
  +            {
  +                dc.close();
  +            }
  +            catch (NamingException e)
  +            {
  +                // half expected.
  +            }
               svr.stop();
           }
       }
  @@ -86,6 +94,14 @@
           }
           finally
           {
  +            try
  +            {
  +                dc.close();
  +            }
  +            catch (NamingException e)
  +            {
  +                // half expected.
  +            }
               svr.stop();
           }
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to