mirror of https://github.com/apache/nifi.git
NIFI-8506 Fix Azure Storage integration tests
This closes #5047 Signed-off-by: Joey Frazee <jfrazee@apache.org>
This commit is contained in:
parent
cc554a6b11
commit
24d3d4325c
|
@ -23,7 +23,6 @@ import org.apache.nifi.processor.exception.ProcessException;
|
|||
import org.apache.nifi.provenance.ProvenanceEventRecord;
|
||||
import org.apache.nifi.provenance.ProvenanceEventType;
|
||||
import org.apache.nifi.util.MockFlowFile;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.Collections;
|
||||
|
@ -211,7 +210,6 @@ public class ITFetchAzureDataLakeStorage extends AbstractAzureDataLakeStorageIT
|
|||
testFailedFetch(fileSystemName, directory, filename, inputFlowFileContent, inputFlowFileContent, 404);
|
||||
}
|
||||
|
||||
@Ignore("Takes some time, only recommended for manual testing.")
|
||||
@Test
|
||||
public void testFetchLargeFile() {
|
||||
// GIVEN
|
||||
|
|
|
@ -60,7 +60,7 @@ public class ITListAzureBlobStorage extends AbstractAzureBlobStorageIT {
|
|||
runner.assertAllFlowFilesTransferred(ListAzureBlobStorage.REL_SUCCESS, 1);
|
||||
|
||||
for (MockFlowFile entry : runner.getFlowFilesForRelationship(ListAzureBlobStorage.REL_SUCCESS)) {
|
||||
entry.assertAttributeEquals("azure.length", "10");
|
||||
entry.assertAttributeEquals("azure.length", "36");
|
||||
entry.assertAttributeEquals("mime.type", "application/octet-stream");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.nifi.provenance.ProvenanceEventRecord;
|
|||
import org.apache.nifi.provenance.ProvenanceEventType;
|
||||
import org.apache.nifi.util.MockFlowFile;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
@ -140,8 +139,6 @@ public class ITPutAzureDataLakeStorage extends AbstractAzureDataLakeStorageIT {
|
|||
assertSuccess(DIRECTORY, FILE_NAME, fileData);
|
||||
}
|
||||
|
||||
@Ignore
|
||||
// ignore excessive test with larger file size
|
||||
@Test
|
||||
public void testPutBigFile() throws Exception {
|
||||
Random random = new Random();
|
||||
|
|
Loading…
Reference in New Issue