You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by hs...@apache.org on 2012/11/09 20:17:10 UTC
git commit: FLUME-1684. Re-enable empty file unit test
Updated Branches:
refs/heads/trunk e6ad27cb4 -> 5c32ff30a
FLUME-1684. Re-enable empty file unit test
(Mike Percy via Hari Shreedharan)
Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/5c32ff30
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/5c32ff30
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/5c32ff30
Branch: refs/heads/trunk
Commit: 5c32ff30a186056bd5250d924b95a944aa9a03c9
Parents: e6ad27c
Author: Hari Shreedharan <hs...@apache.org>
Authored: Fri Nov 9 11:15:53 2012 -0800
Committer: Hari Shreedharan <hs...@apache.org>
Committed: Fri Nov 9 11:15:53 2012 -0800
----------------------------------------------------------------------
.../client/avro/TestSpoolingFileLineReader.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flume/blob/5c32ff30/flume-ng-core/src/test/java/org/apache/flume/client/avro/TestSpoolingFileLineReader.java
----------------------------------------------------------------------
diff --git a/flume-ng-core/src/test/java/org/apache/flume/client/avro/TestSpoolingFileLineReader.java b/flume-ng-core/src/test/java/org/apache/flume/client/avro/TestSpoolingFileLineReader.java
index 8463176..740bc98 100644
--- a/flume-ng-core/src/test/java/org/apache/flume/client/avro/TestSpoolingFileLineReader.java
+++ b/flume-ng-core/src/test/java/org/apache/flume/client/avro/TestSpoolingFileLineReader.java
@@ -33,7 +33,6 @@ import org.apache.flume.FlumeException;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import com.google.common.base.Charsets;
@@ -363,10 +362,8 @@ public class TestSpoolingFileLineReader {
/**
- * Empty files should be skipped over when reading directory.
- * This feature is not currently implemented.
+ * Empty files should be treated the same as other files and rolled.
*/
- @Ignore
@Test
public void testBehaviorWithEmptyFile() throws IOException {
File f1 = new File(tmpDir.getAbsolutePath() + "/file1");