From f858d8bc6173f4b9f8bde3c63b5aa8b32cde190f Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Tue, 1 Sep 2009 09:39:43 +0000 Subject: 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 --- .../src/main/java/org/apache/qpid/util/LogMonitorTest.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'qpid/java') 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"; -- cgit v1.2.1