mirror of https://github.com/apache/nifi.git
NIFI-775: Ignore unit tests that fail on windows
This commit is contained in:
parent
fb570ed7ef
commit
42c07a38d4
|
@ -17,6 +17,7 @@
|
|||
package org.apache.nifi.processors.flume;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import java.io.FilenameFilter;
|
||||
|
@ -26,10 +27,10 @@ import java.util.Collection;
|
|||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.io.filefilter.HiddenFileFilter;
|
||||
import org.apache.flume.sink.NullSink;
|
||||
import org.apache.flume.source.AvroSource;
|
||||
|
||||
import org.apache.nifi.components.ValidationResult;
|
||||
import org.apache.nifi.flowfile.attributes.CoreAttributes;
|
||||
import org.apache.nifi.processor.ProcessContext;
|
||||
|
@ -37,8 +38,8 @@ import org.apache.nifi.util.MockProcessContext;
|
|||
import org.apache.nifi.util.TestRunner;
|
||||
import org.apache.nifi.util.TestRunners;
|
||||
import org.apache.nifi.util.file.FileUtils;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.TemporaryFolder;
|
||||
|
@ -135,6 +136,7 @@ public class ExecuteFlumeSinkTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore("Does not work on Windows")
|
||||
public void testHdfsSink() throws IOException {
|
||||
File destDir = temp.newFolder("hdfs");
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@ import java.util.Collection;
|
|||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.apache.flume.sink.NullSink;
|
||||
import org.apache.flume.source.AvroSource;
|
||||
|
||||
import org.apache.nifi.components.ValidationResult;
|
||||
import org.apache.nifi.processor.ProcessContext;
|
||||
import org.apache.nifi.util.MockFlowFile;
|
||||
|
@ -33,8 +33,8 @@ import org.apache.nifi.util.MockProcessContext;
|
|||
import org.apache.nifi.util.TestRunner;
|
||||
import org.apache.nifi.util.TestRunners;
|
||||
import org.apache.nifi.util.file.FileUtils;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.TemporaryFolder;
|
||||
|
@ -118,6 +118,7 @@ public class ExecuteFlumeSourceTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore("Does not work on Windows")
|
||||
public void testSourceWithConfig() throws IOException {
|
||||
File spoolDirectory = temp.newFolder("spooldir");
|
||||
File dst = new File(spoolDirectory, "records.txt");
|
||||
|
|
Loading…
Reference in New Issue