Clean up roles properly in TestHDFSIntegration
Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/44403147 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/44403147 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/44403147 Branch: refs/heads/hive_plugin_v2 Commit: 4440314741edd9b80032777ee3d10679b7ce2ec0 Parents: 789af33 Author: Sravya Tirukkovalur <[email protected]> Authored: Mon Aug 3 10:46:54 2015 -0700 Committer: Sravya Tirukkovalur <[email protected]> Committed: Mon Aug 3 10:46:54 2015 -0700 ---------------------------------------------------------------------- .../java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/44403147/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegration.java ---------------------------------------------------------------------- diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegration.java b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegration.java index 786150b..6b584fd 100644 --- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegration.java +++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegration.java @@ -532,7 +532,7 @@ public class TestHDFSIntegration { public void testEnd2End() throws Throwable { tmpHDFSDir = new Path("/tmp/external"); dbNames = new String[]{"db1"}; - roles = new String[]{"admin_role"}; + roles = new String[]{"admin_role", "db_role", "tab_role", "p1_admin"}; admin = "hive"; Connection conn;
