[
https://issues.apache.org/jira/browse/BEAM-10378?focusedWorklogId=472722&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-472722
]
ASF GitHub Bot logged work on BEAM-10378:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Aug/20 03:17
Start Date: 20/Aug/20 03:17
Worklog Time Spent: 10m
Work Description: boyuanzz commented on a change in pull request #12581:
URL: https://github.com/apache/beam/pull/12581#discussion_r473563038
##########
File path:
sdks/java/io/azure/src/test/java/org/apache/beam/sdk/io/azure/blobstore/AzureBlobStoreFileSystemIT.java
##########
@@ -0,0 +1,353 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.sdk.io.azure.blobstore;
+
+import static java.util.UUID.randomUUID;
+import static
org.apache.beam.sdk.io.fs.CreateOptions.StandardCreateOptions.builder;
+import static org.hamcrest.Matchers.contains;
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertThat;
+import static org.junit.Assert.assertThrows;
+import static org.junit.Assert.assertTrue;
+
+import com.azure.storage.blob.BlobContainerClient;
+import com.azure.storage.blob.BlobServiceClient;
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.nio.ByteBuffer;
+import java.nio.channels.ReadableByteChannel;
+import java.nio.channels.WritableByteChannel;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+import org.apache.beam.sdk.io.azure.options.BlobstoreOptions;
+import org.apache.beam.sdk.io.fs.MatchResult;
+import org.apache.beam.sdk.options.PipelineOptionsFactory;
+import
org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.FluentIterable;
+import
org.apache.beam.vendor.guava.v26_0_jre.com.google.common.collect.ImmutableList;
+import org.apache.commons.io.FileUtils;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
+
+@RunWith(JUnit4.class)
+public class AzureBlobStoreFileSystemIT {
Review comment:
I don't think this test suite is necessary for IT since test cases here
should be covered by the unit tests already. I would image the IT we want is a
a pipeline reading from azure file system and writing to azure file system.
@pabloem what do you think?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 472722)
Time Spent: 25h 40m (was: 25.5h)
> Implement an Azure blobstore filesystem for Java SDK
> ----------------------------------------------------
>
> Key: BEAM-10378
> URL: https://issues.apache.org/jira/browse/BEAM-10378
> Project: Beam
> Issue Type: Improvement
> Components: io-java-azure
> Reporter: Pablo Estrada
> Assignee: Etta Rapp
> Priority: P2
> Time Spent: 25h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)