diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-08-06 16:56:03 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-08-06 16:56:03 +0000 |
| commit | fe7d3822916de49c310a80fe8a4959c130ca87ef (patch) | |
| tree | e202bbbe49dd50288e449c03b8f3c1b540ea8dcc | |
| parent | eaea4f51a8925a985a4b41447aa70bb859117eaa (diff) | |
| download | qpid-python-fe7d3822916de49c310a80fe8a4959c130ca87ef.tar.gz | |
QPID-2002 : Used new close feature of LogMonitor to ensure test log file only has data from test run
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801718 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AbstractTestLogging.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AbstractTestLogging.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AbstractTestLogging.java index c5a2f499f0..ccf3ae76fd 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AbstractTestLogging.java +++ b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/AbstractTestLogging.java @@ -38,6 +38,14 @@ public class AbstractTestLogging extends QpidTestCase super.setUp(); _monitor = new LogMonitor(_outputFile); } + + @Override + public void tearDown() throws Exception + { + _monitor.close(); + super.tearDown(); + } + /** * assert that the requested log message has not occured |
