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 2014/05/05 21:41:53 UTC
[6/6] git commit: Fix a test hang
Fix a test hang
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/1a5b0a1e
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/1a5b0a1e
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/1a5b0a1e
Branch: refs/heads/2.7.x-fixes
Commit: 1a5b0a1e913bbc6a74169be39c9b97e7adaa12fe
Parents: 38b67b0
Author: Daniel Kulp <dk...@apache.org>
Authored: Mon May 5 15:41:20 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Mon May 5 15:41:20 2014 -0400
----------------------------------------------------------------------
.../java/org/apache/cxf/systest/jms/JMSClientServerSoap12Test.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/1a5b0a1e/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/JMSClientServerSoap12Test.java
----------------------------------------------------------------------
diff --git a/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/JMSClientServerSoap12Test.java b/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/JMSClientServerSoap12Test.java
index 334b9f0..5fa1620 100644
--- a/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/JMSClientServerSoap12Test.java
+++ b/systests/transport-jms/src/test/java/org/apache/cxf/systest/jms/JMSClientServerSoap12Test.java
@@ -148,7 +148,7 @@ public class JMSClientServerSoap12Test extends AbstractBusClientServerTestBase {
}
@Test
public void testWSAddressingWithJms() throws Exception {
- Bus bus = BusFactory.getDefaultBus();
+ Bus bus = BusFactory.newInstance().createBus();
BusFactory.setDefaultBus(bus);
QName serviceName = new QName("http://apache.org/hello_world_doc_lit",