diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-09-01 09:39:43 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-09-01 09:39:43 +0000 |
| commit | f858d8bc6173f4b9f8bde3c63b5aa8b32cde190f (patch) | |
| tree | 050fc4e54d73c9c30b707d868bedf568a21c054d /qpid/java | |
| parent | eaf99a69f4b09f05adba2039ccb9af046b16349a (diff) | |
| download | qpid-python-f858d8bc6173f4b9f8bde3c63b5aa8b32cde190f.tar.gz | |
QPID-2060 : Simplist solution is to remove test as the functionality is better tested by the _Timeout test. This test verifies that the message is not in the file then waits for it ot occur. The _Found test is failing as we have not waited long enough for the message to be logged.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@809936 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java index b721e27726..2b9fe8e039 100644 --- a/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java +++ b/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java @@ -158,18 +158,6 @@ public class LogMonitorTest extends TestCase validateLogDoesNotContainsMessage(_monitor, notLogged); } - public void testWaitForMessage_Found() throws IOException - { - String message = getName() + ": Test Message"; - - long TIME_OUT = 2000; - - logMessageWithDelay(message, TIME_OUT / 2); - - assertTrue("Message was not logged ", - _monitor.waitForMessage(message, TIME_OUT)); - } - public void testWaitForMessage_Timeout() throws IOException { String message = getName() + ": Test Message"; |
