logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1384307 - in /logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender: FlumeEmbeddedAgentTest.java FlumeEmbeddedAppenderTest.java
Date Thu, 13 Sep 2012 12:39:52 GMT
Author: rgoers
Date: Thu Sep 13 12:39:52 2012
New Revision: 1384307

URL: http://svn.apache.org/viewvc?rev=1384307&view=rev
Log:
Add a delay to Flume tests to see if it makes Gump happy

Modified:
    logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java
    logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java

Modified: logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java?rev=1384307&r1=1384306&r2=1384307&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java
(original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAgentTest.java
Thu Sep 13 12:39:52 2012
@@ -230,6 +230,8 @@ public class FlumeEmbeddedAgentTest {
             transaction.close();
         }
 
+        // Give the AvroSink time to receive notification and notify the channel.
+        Thread.sleep(500);
         primarySource.stop();
 
 

Modified: logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java?rev=1384307&r1=1384306&r2=1384307&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java
(original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/appender/FlumeEmbeddedAppenderTest.java
Thu Sep 13 12:39:52 2012
@@ -230,6 +230,9 @@ public class FlumeEmbeddedAppenderTest {
             transaction.close();
         }
 
+        // Give the AvroSink time to receive notification and notify the channel.
+        Thread.sleep(500);
+
         primarySource.stop();
 
 



Mime
View raw message