flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject [2/2] git commit: FLUME-1681: Disable empty-file unit test for Spooling File Reader
Date Tue, 06 Nov 2012 21:05:01 GMT
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/2bc828e8
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/2bc828e8
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/2bc828e8

Branch: refs/heads/flume-1.4
Commit: 2bc828e871207a340c1997b9b47850ce496d0aa7
Parents: b4402d9
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:24 2012 -0600

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


http://git-wip-us.apache.org/repos/asf/flume/blob/2bc828e8/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