Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 63834 invoked from network); 15 Jul 2010 21:43:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jul 2010 21:43:57 -0000 Received: (qmail 82692 invoked by uid 500); 15 Jul 2010 21:43:57 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 82567 invoked by uid 500); 15 Jul 2010 21:43:56 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 82560 invoked by uid 99); 15 Jul 2010 21:43:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 21:43:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 21:43:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 42C42238897A; Thu, 15 Jul 2010 21:43:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r964618 - /cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java Date: Thu, 15 Jul 2010 21:43:01 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100715214301.42C42238897A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Thu Jul 15 21:43:00 2010 New Revision: 964618 URL: http://svn.apache.org/viewvc?rev=964618&view=rev Log: [CXF-2865] Fix test on windows. Patch from Yaytay/Jim Talbut applied. Modified: cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java Modified: cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java?rev=964618&r1=964617&r2=964618&view=diff ============================================================================== --- cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java (original) +++ cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/dispatch/DispatchClientServerTest.java Thu Jul 15 21:43:00 2010 @@ -162,8 +162,9 @@ public class DispatchClientServerTest ex fail("should not be a SOAPFaultException"); } catch (WebServiceException ex) { //expected - assertTrue(ex.getCause().getClass().getName(), - ex.getCause() instanceof java.net.ConnectException); + assertTrue(ex.getCause().getClass().getName(), + ex.getCause() instanceof java.net.ConnectException + || ex.getCause() instanceof java.net.SocketTimeoutException); } }