Author: asoldano
Date: 2015-04-03 12:01:12 -0400 (Fri, 03 Apr 2015)
New Revision: 19616
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpConduit/HTTPConduitTestCase.java
Log:
[JBWS-3901] Fix bug in testcase (the new bus has to be set as default thread bus to be
picked up ;-) )
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpConduit/HTTPConduitTestCase.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpConduit/HTTPConduitTestCase.java 2015-04-03
10:18:27 UTC (rev 19615)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/httpConduit/HTTPConduitTestCase.java 2015-04-03
16:01:12 UTC (rev 19616)
@@ -88,6 +88,7 @@
@RunAsClient
public void testWrapperWithMap() throws Exception {
Bus bus = BusFactory.newInstance().createBus();
+ BusFactory.setThreadDefaultBus(bus);
try {
Map<String, Object> map = new HashMap<String, Object>();
map.put(Constants.CXF_CLIENT_ALLOW_CHUNKING, true);
@@ -120,6 +121,7 @@
@RunAsClient
public void testTimeout() throws Exception {
Bus bus = BusFactory.newInstance().createBus();
+ BusFactory.setThreadDefaultBus(bus);
try {
Map<String, Object> map = new HashMap<String, Object>();
map.put(Constants.CXF_CLIENT_CONNECTION_TIMEOUT, 6000L);
Show replies by date