Skip to content

Commit 667317c

Browse files
committed
skip overwrite tests
1 parent 5e98873 commit 667317c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AFSMainOperations.java

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
import org.apache.hadoop.fs.Path;
3030
import org.apache.hadoop.fs.contract.s3a.S3AContract;
3131

32-
import static org.apache.hadoop.fs.s3a.S3ATestUtils.createTestPath;
33-
import static org.apache.hadoop.fs.s3a.S3ATestUtils.isCreatePerformanceEnabled;
34-
import static org.apache.hadoop.fs.s3a.S3ATestUtils.setPerformanceFlags;
32+
import static org.apache.hadoop.fs.s3a.S3ATestUtils.*;
3533

3634
/**
3735
* S3A Test suite for the FSMainOperationsBaseTest tests.
@@ -79,6 +77,18 @@ public void testCopyToLocalWithUseRawLocalFileSystemOption()
7977
}
8078

8179
@Override
80+
public void testWriteReadAndDeleteOneAndAHalfBlocks() throws Exception {
81+
//Skipping this test for AnalyticsAccelerator as it is acting as an overwrite test
82+
skipIfAnalyticsAcceleratorEnabled(this.contract.getConf());
83+
}
84+
85+
@Override
86+
public void testWriteReadAndDeleteTwoBlocks() throws Exception {
87+
//Skipping this test for AnalyticsAccelerator as it is acting as an overwrite test
88+
skipIfAnalyticsAcceleratorEnabled(this.contract.getConf());
89+
}
90+
91+
@Override
8292
public void testOverwrite() throws IOException {
8393
boolean createPerformance = isCreatePerformanceEnabled(fSys);
8494
try {

0 commit comments

Comments
 (0)