HIVE-14973. Fix Flaky test: 
TestJdbcWithSQLAuthorization.testBlackListedUdfUsage. (Zoltan Haindrich, 
reviewed by Siddharth Seth)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/57044c47
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/57044c47
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/57044c47

Branch: refs/heads/hive-14535
Commit: 57044c47fb4b9cff2e3e3cea1b3fcf5d00df11a4
Parents: 8888fe4
Author: Siddharth Seth <ss...@apache.org>
Authored: Tue Oct 18 16:05:41 2016 -0700
Committer: Siddharth Seth <ss...@apache.org>
Committed: Tue Oct 18 16:05:41 2016 -0700

----------------------------------------------------------------------
 .../hive/jdbc/authorization/TestJdbcWithSQLAuthUDFBlacklist.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/57044c47/itests/hive-unit/src/test/java/org/apache/hive/jdbc/authorization/TestJdbcWithSQLAuthUDFBlacklist.java
----------------------------------------------------------------------
diff --git 
a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/authorization/TestJdbcWithSQLAuthUDFBlacklist.java
 
b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/authorization/TestJdbcWithSQLAuthUDFBlacklist.java
index b111f95..5070c76 100644
--- 
a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/authorization/TestJdbcWithSQLAuthUDFBlacklist.java
+++ 
b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/authorization/TestJdbcWithSQLAuthUDFBlacklist.java
@@ -72,7 +72,7 @@ public class TestJdbcWithSQLAuthUDFBlacklist {
     Connection hs2Conn = DriverManager.getConnection(miniHS2.getJdbcURL(), 
"user1", "bar");
 
     Statement stmt = hs2Conn.createStatement();
-    String tableName1 = "test_jdbc_sql_auth_udf";
+    String tableName1 = "test_jdbc_sql_auth_udf_blacklist";
     stmt.execute("create table " + tableName1 + "(i int) ");
 
     verifyUDFNotAllowed(stmt, tableName1, "sqrt(1)", "sqrt");

Reply via email to