sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sra...@apache.org
Subject incubator-sentry git commit: SENTRY-1064: Fix TestDbOperations#testCaseSensitivity ( Anne Yu, Reviewed by: Sravya Tirukkovalur)
Date Sat, 13 Feb 2016 01:42:03 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/master 1665b93d0 -> 65eda0145


SENTRY-1064: Fix TestDbOperations#testCaseSensitivity ( Anne Yu, Reviewed by: Sravya Tirukkovalur)

Change-Id: Iaf20b21494de63f636d9e5cf32e686b93b775181


Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/65eda014
Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/65eda014
Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/65eda014

Branch: refs/heads/master
Commit: 65eda014575f1836da7b7beb1f8b9935adb992c3
Parents: 1665b93
Author: Sravya Tirukkovalur <sravya@cloudera.com>
Authored: Fri Feb 12 17:41:35 2016 -0800
Committer: Sravya Tirukkovalur <sravya@cloudera.com>
Committed: Fri Feb 12 17:41:35 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/sentry/tests/e2e/hive/TestOperations.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/65eda014/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestOperations.java
----------------------------------------------------------------------
diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestOperations.java
b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestOperations.java
index a0c9f4f..438030b 100644
--- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestOperations.java
+++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestOperations.java
@@ -1052,8 +1052,9 @@ public class TestOperations extends AbstractTestWithStaticConfiguration
{
     Connection connection = null;
     try {
       createDb(ADMIN1, DB1);
-      Path extParentDir = dfs.assertCreateDir("/ABC/hhh");
-      Path extTableDir = dfs.assertCreateDir("/abc/hhh");
+      String baseDir = dataDir.getPath();
+      Path extParentDir = dfs.assertCreateDir(baseDir + "/ABC/hhh");
+      Path extTableDir = dfs.assertCreateDir(baseDir + "/abc/hhh");
       policyFile
           .addPermissionsToRole("create_db1", privileges.get("create_db1"))
           .addPermissionsToRole("all_uri", "server=server1->uri=" + extParentDir)


Mime
View raw message