Skip to content

Commit 70f4674

Browse files
xiaoyuyaonandakumar131
authored andcommitted
HDDS-1907. TestOzoneRpcClientWithRatis is failing with ACL errors.
Signed-off-by: Nanda kumar <[email protected]>
1 parent 9cd211a commit 70f4674

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneRpcClientAbstract.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@
120120
import static org.junit.Assert.assertThat;
121121
import static org.junit.Assert.assertTrue;
122122
import static org.junit.Assert.fail;
123+
import static org.junit.Assume.assumeFalse;
124+
123125
import org.junit.Ignore;
124126
import org.junit.Test;
125127
import org.slf4j.Logger;
@@ -2268,6 +2270,8 @@ public void testListPartsWithInvalidUploadID() throws Exception {
22682270

22692271
@Test
22702272
public void testNativeAclsForVolume() throws Exception {
2273+
assumeFalse("Remove this once ACL HA is supported",
2274+
getClass().equals(TestOzoneRpcClientWithRatis.class));
22712275
String volumeName = UUID.randomUUID().toString();
22722276
store.createVolume(volumeName);
22732277

@@ -2282,6 +2286,8 @@ public void testNativeAclsForVolume() throws Exception {
22822286

22832287
@Test
22842288
public void testNativeAclsForBucket() throws Exception {
2289+
assumeFalse("Remove this once ACL HA is supported",
2290+
getClass().equals(TestOzoneRpcClientWithRatis.class));
22852291
String volumeName = UUID.randomUUID().toString();
22862292
String bucketName = UUID.randomUUID().toString();
22872293

@@ -2342,6 +2348,8 @@ private void validateDefaultAcls(OzoneObj parentObj, OzoneObj childObj,
23422348

23432349
@Test
23442350
public void testNativeAclsForKey() throws Exception {
2351+
assumeFalse("Remove this once ACL HA is supported",
2352+
getClass().equals(TestOzoneRpcClientWithRatis.class));
23452353
String volumeName = UUID.randomUUID().toString();
23462354
String bucketName = UUID.randomUUID().toString();
23472355
String key1 = "dir1/dir2" + UUID.randomUUID().toString();
@@ -2404,6 +2412,8 @@ public void testNativeAclsForKey() throws Exception {
24042412

24052413
@Test
24062414
public void testNativeAclsForPrefix() throws Exception {
2415+
assumeFalse("Remove this once ACL HA is supported",
2416+
getClass().equals(TestOzoneRpcClientWithRatis.class));
24072417
String volumeName = UUID.randomUUID().toString();
24082418
String bucketName = UUID.randomUUID().toString();
24092419

0 commit comments

Comments
 (0)