HDDS-1907. TestOzoneRpcClientWithRatis is failing with ACL errors.

Signed-off-by: Nanda kumar <nanda@apache.org>
This commit is contained in:
Xiaoyu Yao 2019-08-07 18:34:05 +05:30 committed by Nanda kumar
parent 9cd211ac86
commit 70f46746b1
No known key found for this signature in database
GPG Key ID: CE6C8AB1204780DF
1 changed files with 10 additions and 0 deletions

View File

@ -120,6 +120,8 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.junit.Assume.assumeFalse;
import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;
@ -2268,6 +2270,8 @@ public abstract class TestOzoneRpcClientAbstract {
@Test
public void testNativeAclsForVolume() throws Exception {
assumeFalse("Remove this once ACL HA is supported",
getClass().equals(TestOzoneRpcClientWithRatis.class));
String volumeName = UUID.randomUUID().toString();
store.createVolume(volumeName);
@ -2282,6 +2286,8 @@ public abstract class TestOzoneRpcClientAbstract {
@Test
public void testNativeAclsForBucket() throws Exception {
assumeFalse("Remove this once ACL HA is supported",
getClass().equals(TestOzoneRpcClientWithRatis.class));
String volumeName = UUID.randomUUID().toString();
String bucketName = UUID.randomUUID().toString();
@ -2342,6 +2348,8 @@ public abstract class TestOzoneRpcClientAbstract {
@Test
public void testNativeAclsForKey() throws Exception {
assumeFalse("Remove this once ACL HA is supported",
getClass().equals(TestOzoneRpcClientWithRatis.class));
String volumeName = UUID.randomUUID().toString();
String bucketName = UUID.randomUUID().toString();
String key1 = "dir1/dir2" + UUID.randomUUID().toString();
@ -2404,6 +2412,8 @@ public abstract class TestOzoneRpcClientAbstract {
@Test
public void testNativeAclsForPrefix() throws Exception {
assumeFalse("Remove this once ACL HA is supported",
getClass().equals(TestOzoneRpcClientWithRatis.class));
String volumeName = UUID.randomUUID().toString();
String bucketName = UUID.randomUUID().toString();