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 2011/10/19 22:58:04 UTC
svn commit: r1186487 - in
/cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing:
MAPTest.java MAPTestBase.java
Author: dkulp
Date: Wed Oct 19 20:58:03 2011
New Revision: 1186487
URL: http://svn.apache.org/viewvc?rev=1186487&view=rev
Log:
Cleanup a test that keeps randomly failing for me
Modified:
cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTest.java
cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTestBase.java
Modified: cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTest.java?rev=1186487&r1=1186486&r2=1186487&view=diff
==============================================================================
--- cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTest.java (original)
+++ cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTest.java Wed Oct 19 20:58:03 2011
@@ -19,14 +19,10 @@
package org.apache.cxf.systest.ws.addressing;
-import java.lang.reflect.UndeclaredThrowableException;
-
import javax.jws.WebService;
-import org.apache.hello_world_soap_http.BadRecordLitFault;
import org.junit.BeforeClass;
-import org.junit.Test;
/**
@@ -69,29 +65,5 @@ public class MAPTest extends MAPTestBase
public static class GreeterImpl extends org.apache.cxf.systest.ws.addressing.AbstractGreeterImpl {
}
-
- @Test
- public void testUsingKeepAliveConnection() throws Exception {
- if (!"HP-UX".equals(System.getProperty("os.name"))) {
- return;
- }
- int n = 100;
- for (int i = 0; i < n; i++) {
- greeter.greetMeOneWay("oneway on keep-alive connection");
- }
- for (int i = 0; i < n; i++) {
- assertNotNull(greeter.greetMe("twoway on keep-alive connection"));
- }
- for (int i = 0; i < 0; i++) {
- try {
- greeter.testDocLitFault("BadRecordLitFault");
- fail("expected fault from service");
- } catch (BadRecordLitFault brlf) {
- //checkVerification();
- } catch (UndeclaredThrowableException ex) {
- throw (Exception)ex.getCause();
- }
- }
- }
}
Modified: cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTestBase.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTestBase.java?rev=1186487&r1=1186486&r2=1186487&view=diff
==============================================================================
--- cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTestBase.java (original)
+++ cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/MAPTestBase.java Wed Oct 19 20:58:03 2011
@@ -186,8 +186,6 @@ public abstract class MAPTestBase extend
}
@Test
- //@org.junit.Ignore("randomly fails quite often, but not in the "
- // + " debugger so not sure what is going on yet")
public void testExplicitMAPs() throws Exception {
try {
String msgId = "urn:uuid:12345-" + Math.random();
@@ -228,25 +226,6 @@ public abstract class MAPTestBase extend
}
}
-/* @Test
- public void testFaultTo() throws Exception {
- try {
- String greeting = greeter.greetMe("warmup");
- assertEquals("unexpected response received from service",
- "Hello warmup",
- greeting);
- checkVerification();
- try {
- greeter.testDocLitFault("BadRecordLitFault");
- fail("expected fault from service");
- } catch (BadRecordLitFault brlf) {
- checkVerification();
- }
- } catch (UndeclaredThrowableException ex) {
- throw (Exception)ex.getCause();
- }
- } */
-
@Test
public void testOneway() throws Exception {
try {
@@ -259,7 +238,6 @@ public abstract class MAPTestBase extend
@Test
- //@org.junit.Ignore("Random failure on Linux")
public void testApplicationFault() throws Exception {
try {
greeter.testDocLitFault("BadRecordLitFault");