You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by ha...@apache.org on 2016/03/02 21:13:00 UTC

incubator-sentry git commit: SENTRY-1105: Fix unittest TestMetastoreEndToEnd.testAddPartion (Sravya Tirukkovalur, Reviewed by Hao Hao)

Repository: incubator-sentry
Updated Branches:
  refs/heads/master 13a61bf91 -> 36125fddc


SENTRY-1105: Fix unittest TestMetastoreEndToEnd.testAddPartion (Sravya Tirukkovalur, Reviewed by Hao Hao)

Change-Id: I2d990d29cb354a4125b06f38b71e5ba7c420978b


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

Branch: refs/heads/master
Commit: 36125fddc098e7d08cf7f8207e1adfa1352162d3
Parents: 13a61bf
Author: hahao <ha...@cloudera.com>
Authored: Wed Mar 2 12:11:23 2016 -0800
Committer: hahao <ha...@cloudera.com>
Committed: Wed Mar 2 12:11:23 2016 -0800

----------------------------------------------------------------------
 .../apache/sentry/tests/e2e/metastore/TestMetastoreEndToEnd.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/36125fdd/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/metastore/TestMetastoreEndToEnd.java
----------------------------------------------------------------------
diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/metastore/TestMetastoreEndToEnd.java b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/metastore/TestMetastoreEndToEnd.java
index 4d4b0fe..1fac8b0 100644
--- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/metastore/TestMetastoreEndToEnd.java
+++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/metastore/TestMetastoreEndToEnd.java
@@ -572,7 +572,7 @@ public class TestMetastoreEndToEnd extends
 
     //User with all on table
     execHiveSQL("ALTER TABLE " + dbName + "." + tabName1
-        + " ADD PARTITION (part_col ='" + partVal1 + "')", USER2_1);
+        + " ADD PARTITION (part_col ='" + partVal1 + "')", USER1_1);
     verifyPartitionExists(dbName, tabName1, partVal1);
 
     execHiveSQL("ALTER TABLE " + dbName + "." + tabName1