You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2014/09/29 18:27:04 UTC
[03/11] git commit: add some logging of test phases to aid debugging
add some logging of test phases to aid debugging
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/c294a3c7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/c294a3c7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/c294a3c7
Branch: refs/heads/master
Commit: c294a3c7e7b15d663529ec09febaaafa059cf772
Parents: 270765a
Author: Robert Gemmell <ro...@apache.org>
Authored: Mon Sep 29 11:52:07 2014 +0100
Committer: Robert Gemmell <ro...@apache.org>
Committed: Mon Sep 29 17:09:37 2014 +0100
----------------------------------------------------------------------
.../java/org/apache/qpid/jms/support/QpidJmsTestSupport.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/c294a3c7/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
----------------------------------------------------------------------
diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
index abb1bb4..509a551 100644
--- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
+++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/support/QpidJmsTestSupport.java
@@ -80,6 +80,7 @@ public class QpidJmsTestSupport {
@Before
public void setUp() throws Exception {
+ LOG.info("========== setUp " + getTestName() + " ==========");
exceptions.clear();
startPrimaryBroker();
this.numberOfMessages = 2000;
@@ -87,6 +88,7 @@ public class QpidJmsTestSupport {
@After
public void tearDown() throws Exception {
+ LOG.info("========== tearDown " + getTestName() + " ==========");
if (connection != null) {
connection.close();
}
@@ -444,4 +446,8 @@ public class QpidJmsTestSupport {
protected boolean isSendAcksAsync() {
return false;
}
+
+ protected String getTestName() {
+ return getClass().getSimpleName() + "." + name.getMethodName();
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org