You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/02/25 04:29:59 UTC

svn commit: r747649 - /cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/JaxWsClientThreadTest.java

Author: dkulp
Date: Wed Feb 25 03:29:57 2009
New Revision: 747649

URL: http://svn.apache.org/viewvc?rev=747649&view=rev
Log:
Add some debugging code to try and figure out what is happening on hudson.

Modified:
    cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/JaxWsClientThreadTest.java

Modified: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/JaxWsClientThreadTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/JaxWsClientThreadTest.java?rev=747649&r1=747648&r2=747649&view=diff
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/JaxWsClientThreadTest.java (original)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/JaxWsClientThreadTest.java Wed Feb 25 03:29:57 2009
@@ -76,6 +76,9 @@
                             //expected.getCause().printStackTrace();
                             MalformedURLException mue = (MalformedURLException)expected
                                 .getCause().getCause();
+                            if (mue == null || mue.getMessage() == null) {
+                                throw expected;
+                            }
                             assertTrue("protocol contains thread id from context", mue.getMessage()
                                 .indexOf(protocol) != 0);
                         }