Repository: sentry Updated Branches: refs/heads/sentry-ha-redesign 5dc6b2855 -> e44fa87e9
SENTRY-1799: Fix flaky HDFS END2END tests (Kalyan Kalvagadda, reviewed by: Alex Kolbasov) Project: http://git-wip-us.apache.org/repos/asf/sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/e44fa87e Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/e44fa87e Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/e44fa87e Branch: refs/heads/sentry-ha-redesign Commit: e44fa87e95872107af176dafd9a722cb122a4657 Parents: 5dc6b28 Author: Alexander Kolbasov <[email protected]> Authored: Tue Jun 13 15:43:34 2017 -0700 Committer: Alexander Kolbasov <[email protected]> Committed: Tue Jun 13 15:43:34 2017 -0700 ---------------------------------------------------------------------- .../apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sentry/blob/e44fa87e/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java ---------------------------------------------------------------------- diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java index 8a071d0..2073d85 100644 --- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java +++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationAdvanced.java @@ -368,7 +368,7 @@ public class TestHDFSIntegrationAdvanced extends TestHDFSIntegrationBase { stmt.execute("create database " + dbName); stmt.execute("create role db_role"); - stmt.execute("grant create on database " + dbName +" to role db_role"); + stmt.execute("grant all on database " + dbName +" to role db_role"); stmt.execute("grant all on URI '/tmp/external' to role db_role"); stmt.execute("grant role db_role to group " + StaticUserGroup.USERGROUP1);
