summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2008-05-22 17:22:40 +0000
committerArnaud Simon <arnaudsimon@apache.org>2008-05-22 17:22:40 +0000
commitcdb13b59b69765aec7fdb4257ad1481b0513d061 (patch)
tree5ca5dfb2be97eddc9fdafd4d1ac8670da004e26a /java
parent1147920aa0da7927dd19d3f4c62ff1ce555073fb (diff)
downloadqpid-python-cdb13b59b69765aec7fdb4257ad1481b0513d061.tar.gz
QPID-1079: Updated TTLTest to use QpidTestCase
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java b/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
index 9004cb72df..384e3176f5 100644
--- a/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
+++ b/java/systests/src/main/java/org/apache/qpid/test/testcases/TTLTest.java
@@ -78,7 +78,7 @@ public class TTLTest extends FrameworkBaseCase
*
* @throws javax.jms.JMSException Allowed to fall through and fail test.
*/
- public void testTTLP2P() throws JMSException
+ public void testTTLP2P() throws Exception
{
String errorMessages = "";
Random r = new Random();
@@ -92,7 +92,7 @@ public class TTLTest extends FrameworkBaseCase
// Create the test circuit from the test configuration parameters.
CircuitFactory circuitFactory = getCircuitFactory();
- Circuit testCircuit = circuitFactory.createCircuit(testProps);
+ Circuit testCircuit = circuitFactory.createCircuit(getConnection(), testProps);
// This test case assumes it is using a local circuit.
LocalCircuitImpl localCircuit = (LocalCircuitImpl) testCircuit;