HBASE-14378 Get TestAccessController* passing again on branch-1; ADDENDUM... missed org.apache.hadoop.hbase.security.access.TestWithDisabledAuthorization

This commit is contained in:
stack 2015-09-25 09:28:20 -07:00
parent b527fb8e70
commit e33d8bd3e0
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.Cell;
import org.apache.hadoop.hbase.Coprocessor;
import org.apache.hadoop.hbase.HBaseTestingUtility;
@ -131,6 +132,8 @@ public class TestWithDisabledAuthorization extends SecureTestUtil {
@BeforeClass
public static void setupBeforeClass() throws Exception {
Configuration conf = TEST_UTIL.getConfiguration();
// Up the handlers; this test needs more than usual.
TEST_UTIL.getConfiguration().setInt(HConstants.REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT, 10);
// Enable security
enableSecurity(conf);
// We expect 0.98 cell ACL semantics