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 Russell Butek <bu...@us.ibm.com> on 2002/10/01 16:34:41 UTC
[VOTE] merge terra service test case change into 1.0
I suggest that we put this patch into the 1.0 branch. The terra server is
now down and without this patch the terra test will break the build. If
the terra server remains down and the build breaks when Sam is building the
final 1.0, then we won't get a 1.0. This is ONLY a test change. It does
not affect the runtime.
Here's my +1
Russell Butek
butek@us.ibm.com
---------------------- Forwarded by Russell Butek/Austin/IBM on 10/01/2002
09:29 AM ---------------------------
Russell Butek/Austin/IBM@IBMUS on 10/01/2002 08:03:18 AM
Please respond to axis-dev@xml.apache.org
To: axis-dev@xml.apache.org
cc:
Subject: Re: cvs commit: xml-axis/java/test/wsdl/terra
TerraServiceTestCase.java
Thanks, dims. You fixed it JUST as I hit the problem.
Depending on how long this site is down, perhaps we should vote to add this
test patch to the 1.0 branch so Sam can actually get a build?
Russell Butek
butek@us.ibm.com
dims@apache.org on 10/01/2002 07:43:11 AM
Please respond to axis-dev@xml.apache.org
To: xml-axis-cvs@apache.org
cc:
Subject: cvs commit: xml-axis/java/test/wsdl/terra
TerraServiceTestCase.java
dims 2002/10/01 05:43:11
Modified: java/test/wsdl/terra TerraServiceTestCase.java
Log:
Continue gracefully even when TerraService is down.
Revision Changes Path
1.2 +12 -0
xml-axis/java/test/wsdl/terra/TerraServiceTestCase.java
Index: TerraServiceTestCase.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/test/wsdl/terra/TerraServiceTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TerraServiceTestCase.java 13 Sep 2002 13:42:22 -0000 1.1
+++ TerraServiceTestCase.java 1 Oct 2002 12:43:11 -0000 1.2
@@ -7,6 +7,10 @@
package test.wsdl.terra;
+import org.apache.axis.AxisFault;
+
+import java.net.ConnectException;
+
public class TerraServiceTestCase extends junit.framework.TestCase {
public TerraServiceTestCase(java.lang.String name) {
super(name);
@@ -39,6 +43,14 @@
}
}
catch (java.rmi.RemoteException re) {
+ if (re instanceof AxisFault) {
+ AxisFault fault = (AxisFault) re;
+ if (fault.detail instanceof ConnectException ||
+ fault.getFaultCode().getLocalPart().equals("HTTP"))
{
+ System.err.println("TerraService HTTP error: " +
fault);
+ return;
+ }
+ }
throw new junit.framework.AssertionFailedError("Remote
Exception caught: " + re);
}
}
Re: [VOTE] merge terra service test case change into 1.0
Posted by Steve Loughran <st...@iseran.com>.
+1: test and doc changes are usually ok right up to the ship date.
----- Original Message -----
From: "Russell Butek" <bu...@us.ibm.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, October 01, 2002 7:34 AM
Subject: [VOTE] merge terra service test case change into 1.0
>
>
>
>
> I suggest that we put this patch into the 1.0 branch. The terra server is
> now down and without this patch the terra test will break the build. If
> the terra server remains down and the build breaks when Sam is building
the
> final 1.0, then we won't get a 1.0. This is ONLY a test change. It does
> not affect the runtime.
>
> Here's my +1
>
> Russell Butek
> butek@us.ibm.com
> ---------------------- Forwarded by Russell Butek/Austin/IBM on 10/01/2002
> 09:29 AM ---------------------------
>
>
>
>
>
> Russell Butek/Austin/IBM@IBMUS on 10/01/2002 08:03:18 AM
>
> Please respond to axis-dev@xml.apache.org
>
> To: axis-dev@xml.apache.org
> cc:
>
> Subject: Re: cvs commit: xml-axis/java/test/wsdl/terra
> TerraServiceTestCase.java
>
>
>
>
>
>
>
>
> Thanks, dims. You fixed it JUST as I hit the problem.
>
> Depending on how long this site is down, perhaps we should vote to add
this
> test patch to the 1.0 branch so Sam can actually get a build?
>
> Russell Butek
> butek@us.ibm.com
>
>
> dims@apache.org on 10/01/2002 07:43:11 AM
>
> Please respond to axis-dev@xml.apache.org
>
> To: xml-axis-cvs@apache.org
> cc:
> Subject: cvs commit: xml-axis/java/test/wsdl/terra
> TerraServiceTestCase.java
>
>
>
> dims 2002/10/01 05:43:11
>
> Modified: java/test/wsdl/terra TerraServiceTestCase.java
> Log:
> Continue gracefully even when TerraService is down.
>
> Revision Changes Path
> 1.2 +12 -0
> xml-axis/java/test/wsdl/terra/TerraServiceTestCase.java
>
> Index: TerraServiceTestCase.java
> ===================================================================
> RCS file:
> /home/cvs/xml-axis/java/test/wsdl/terra/TerraServiceTestCase.java,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- TerraServiceTestCase.java 13 Sep 2002 13:42:22 -0000 1.1
> +++ TerraServiceTestCase.java 1 Oct 2002 12:43:11 -0000 1.2
> @@ -7,6 +7,10 @@
>
> package test.wsdl.terra;
>
> +import org.apache.axis.AxisFault;
> +
> +import java.net.ConnectException;
> +
> public class TerraServiceTestCase extends junit.framework.TestCase {
> public TerraServiceTestCase(java.lang.String name) {
> super(name);
> @@ -39,6 +43,14 @@
> }
> }
> catch (java.rmi.RemoteException re) {
> + if (re instanceof AxisFault) {
> + AxisFault fault = (AxisFault) re;
> + if (fault.detail instanceof ConnectException ||
> + fault.getFaultCode().getLocalPart().equals("HTTP"))
> {
> + System.err.println("TerraService HTTP error: " +
> fault);
> + return;
> + }
> + }
> throw new junit.framework.AssertionFailedError("Remote
> Exception caught: " + re);
> }
> }
>
>
>
>
>
>
>
>