You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/12/08 21:44:27 UTC

[GitHub] [iceberg] jackye1995 commented on a change in pull request #3687: Aliyun: Add OSS integration test rule

jackye1995 commented on a change in pull request #3687:
URL: https://github.com/apache/iceberg/pull/3687#discussion_r765268155



##########
File path: aliyun/src/test/java/org/apache/iceberg/aliyun/oss/mock/TestLocalAliyunOSS.java
##########
@@ -69,6 +70,9 @@ public void after() {
 
   @Test
   public void testBuckets() {
+    Assume.assumeTrue("Aliyun integration test cannot delete existing bucket from test environment.",
+        OSS_TEST_RULE.getClass() == AliyunOSSMockRule.class);

Review comment:
       In AWS we just assumes the bucket exists, and create a random prefix as the root for all tests. By doing that we don't deal with bucket deletion, which is quite dangerous as you say. Would that be better also for Aliyun?




-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org