You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2009/09/01 11:39:44 UTC

svn commit: r809936 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/util/LogMonitorTest.java

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