You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by ja...@apache.org on 2014/06/10 04:54:06 UTC

git commit: SENTRY-278: TestSearchModelAuthorizables.testTooManyKV and TestDBModelAuthorizables.testTooManyKV fail

Repository: incubator-sentry
Updated Branches:
  refs/heads/master 834033ad4 -> 8e7657a7e


SENTRY-278: TestSearchModelAuthorizables.testTooManyKV and TestDBModelAuthorizables.testTooManyKV fail

(Sravya Tirukkovalur via Jarek Jarcec Cecho)


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

Branch: refs/heads/master
Commit: 8e7657a7ee3adb95cad9afb37a6b53dfa5b86d8f
Parents: 834033a
Author: Jarek Jarcec Cecho <ja...@apache.org>
Authored: Mon Jun 9 19:53:39 2014 -0700
Committer: Jarek Jarcec Cecho <ja...@apache.org>
Committed: Mon Jun 9 19:53:39 2014 -0700

----------------------------------------------------------------------
 .../org/apache/sentry/policy/db/TestDBModelAuthorizables.java   | 4 ----
 .../sentry/policy/search/TestSearchModelAuthorizables.java      | 5 -----
 2 files changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/8e7657a7/sentry-policy/sentry-policy-db/src/test/java/org/apache/sentry/policy/db/TestDBModelAuthorizables.java
----------------------------------------------------------------------
diff --git a/sentry-policy/sentry-policy-db/src/test/java/org/apache/sentry/policy/db/TestDBModelAuthorizables.java b/sentry-policy/sentry-policy-db/src/test/java/org/apache/sentry/policy/db/TestDBModelAuthorizables.java
index 70f5e79..16045c7 100644
--- a/sentry-policy/sentry-policy-db/src/test/java/org/apache/sentry/policy/db/TestDBModelAuthorizables.java
+++ b/sentry-policy/sentry-policy-db/src/test/java/org/apache/sentry/policy/db/TestDBModelAuthorizables.java
@@ -61,10 +61,6 @@ public class TestDBModelAuthorizables {
   }
 
   @Test(expected=IllegalArgumentException.class)
-  public void testTooManyKV() throws Exception {
-    System.out.println(DBModelAuthorizables.from("k=v1=v2"));
-  }
-  @Test(expected=IllegalArgumentException.class)
   public void testEmptyKey() throws Exception {
     System.out.println(DBModelAuthorizables.from("=v"));
   }

http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/8e7657a7/sentry-policy/sentry-policy-search/src/test/java/org/apache/sentry/policy/search/TestSearchModelAuthorizables.java
----------------------------------------------------------------------
diff --git a/sentry-policy/sentry-policy-search/src/test/java/org/apache/sentry/policy/search/TestSearchModelAuthorizables.java b/sentry-policy/sentry-policy-search/src/test/java/org/apache/sentry/policy/search/TestSearchModelAuthorizables.java
index c68cd75..c2511cd 100644
--- a/sentry-policy/sentry-policy-search/src/test/java/org/apache/sentry/policy/search/TestSearchModelAuthorizables.java
+++ b/sentry-policy/sentry-policy-search/src/test/java/org/apache/sentry/policy/search/TestSearchModelAuthorizables.java
@@ -37,11 +37,6 @@ public class TestSearchModelAuthorizables {
   }
 
   @Test(expected=IllegalArgumentException.class)
-  public void testTooManyKV() throws Exception {
-    System.out.println(SearchModelAuthorizables.from("k=v1=v2"));
-  }
-
-  @Test(expected=IllegalArgumentException.class)
   public void testEmptyKey() throws Exception {
     System.out.println(SearchModelAuthorizables.from("=v"));
   }