sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sra...@apache.org
Subject git commit: SENTRY-201: TestDatabaseProvider tests fail after Sentry schema tool was added. ( Prasad Mujumdar via Sravya Tirukkovalur)
Date Thu, 15 May 2014 23:51:00 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/master b3ec11999 -> d75c05316


SENTRY-201: TestDatabaseProvider tests fail after Sentry schema tool was added. ( Prasad Mujumdar
via Sravya Tirukkovalur)


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

Branch: refs/heads/master
Commit: d75c053164619e79cfca5617d34226ac8db9ac65
Parents: b3ec119
Author: Sravya Tirukkovalur <sravya@clouera.com>
Authored: Thu May 15 16:49:44 2014 -0700
Committer: Sravya Tirukkovalur <sravya@clouera.com>
Committed: Thu May 15 16:49:44 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/sentry/tests/e2e/hive/TestDatabaseProvider.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/d75c0531/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestDatabaseProvider.java
----------------------------------------------------------------------
diff --git a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestDatabaseProvider.java
b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestDatabaseProvider.java
index 0e72a8b..51bb623 100644
--- a/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestDatabaseProvider.java
+++ b/sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestDatabaseProvider.java
@@ -66,6 +66,7 @@ public class TestDatabaseProvider extends AbstractTestWithHiveServer {
     dbDir = new File(Files.createTempDir(), "sentry_policy_db");
     properties.put(ServerConfig.SENTRY_STORE_JDBC_URL,
         "jdbc:derby:;databaseName=" + dbDir.getPath() + ";create=true");
+    properties.put(ServerConfig.SENTRY_VERIFY_SCHEM_VERSION, "false");
     for (Map.Entry<String, String> entry : properties.entrySet()) {
       conf.set(entry.getKey(), entry.getValue());
     }


Mime
View raw message