Author: alessio.soldano(a)jboss.com
Date: 2013-05-07 13:39:36 -0400 (Tue, 07 May 2013)
New Revision: 17537
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsdd/WSDiscoveryTestCase.java
Log:
[JBWS-3596] Close client
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsdd/WSDiscoveryTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsdd/WSDiscoveryTestCase.java 2013-05-07
17:27:56 UTC (rev 17536)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsdd/WSDiscoveryTestCase.java 2013-05-07
17:39:36 UTC (rev 17537)
@@ -75,6 +75,7 @@
checkResolveMatches(rmts, "http://" + getServerHost() +
":8080/jaxws-samples-wsdd/WSDDService", typeName);
checkResolveMatches(rmts, "http://" + getServerHost() +
":8080/jaxws-samples-wsdd2/WSDDService", typeName);
checkResolveMatches(rmts, "http://" + getServerHost() +
":8080/jaxws-samples-wsdd2/AnotherWSDDService", typeName);
+ client.close();
} finally {
bus.shutdown(true);
}
@@ -107,6 +108,7 @@
String expected = address.contains("AnotherWSDDService") ? "Hi
" : "Greetings ";
assertEquals(expected + "Alice" + i, port.greet("Alice"
+ i));
}
+ client.close();
} finally {
bus.shutdown(true);
}