Return-Path: Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: (qmail 6885 invoked from network); 1 Sep 2009 09:40:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Sep 2009 09:40:06 -0000 Received: (qmail 37047 invoked by uid 500); 1 Sep 2009 09:40:06 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 37027 invoked by uid 500); 1 Sep 2009 09:40:06 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 37018 invoked by uid 99); 1 Sep 2009 09:40:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 09:40:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 09:40:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 42B082388892; Tue, 1 Sep 2009 09:39:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r809936 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java Date: Tue, 01 Sep 2009 09:39:44 -0000 To: commits@qpid.apache.org From: ritchiem@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090901093944.42B082388892@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ritchiem Date: Tue Sep 1 09:39:43 2009 New Revision: 809936 URL: http://svn.apache.org/viewvc?rev=809936&view=rev Log: 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. Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java?rev=809936&r1=809935&r2=809936&view=diff ============================================================================== --- qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java (original) +++ qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java Tue Sep 1 09:39:43 2009 @@ -158,18 +158,6 @@ 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"; --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:commits-subscribe@qpid.apache.org