flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject git commit: FLUME-1681: Disable empty-file unit test for Spooling File Reader
Date Tue, 06 Nov 2012 16:49:39 GMT
Updated Branches:
  refs/heads/trunk 44c713f19 -> d5ce8af76


FLUME-1681: Disable empty-file unit test for Spooling File Reader

(Mike Percy via Brock Noland)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/d5ce8af7
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/d5ce8af7
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/d5ce8af7

Branch: refs/heads/trunk
Commit: d5ce8af76d40e75624a2efe88e5aeb58146bda10
Parents: 44c713f
Author: Brock Noland <brock@apache.org>
Authored: Tue Nov 6 10:49:10 2012 -0600
Committer: Brock Noland <brock@apache.org>
Committed: Tue Nov 6 10:49:10 2012 -0600

----------------------------------------------------------------------
 .../client/avro/TestSpoolingFileLineReader.java    |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/d5ce8af7/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 e1c306e..9f84d9f 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
@@ -28,11 +28,12 @@ import java.io.File;
 import java.io.IOException;
 import java.util.List;
 
-import junit.framework.Assert;
-
 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;
@@ -361,8 +362,12 @@ public class TestSpoolingFileLineReader {
   }
 
 
+  /**
+   * Empty files should be skipped over when reading directory.
+   * This feature is not currently implemented.
+   */
+  @Ignore
   @Test
-  /** Empty files should be skipped over when reading directory. */
   public void testBehaviorWithEmptyFile() throws IOException {
     File f1 = new File(tmpDir.getAbsolutePath() + "/file1");
     Files.touch(f1);


Mime
View raw message