hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject svn commit: r1635349 - in /hive/trunk: itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java pom.xml
Date Thu, 30 Oct 2014 00:13:08 GMT
Author: jdere
Date: Thu Oct 30 00:13:08 2014
New Revision: 1635349

URL: http://svn.apache.org/r1635349
Log:
HIVE-8444: update pom to junit 4.11 (Jason Dere, reviewed by Brock Noland)

Modified:
    hive/trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java
    hive/trunk/pom.xml

Modified: hive/trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java
URL: http://svn.apache.org/viewvc/hive/trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java?rev=1635349&r1=1635348&r2=1635349&view=diff
==============================================================================
--- hive/trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java
(original)
+++ hive/trunk/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/FolderPermissionBase.java
Thu Oct 30 00:13:08 2014
@@ -37,6 +37,7 @@ import org.apache.hadoop.hive.ql.process
 import org.apache.hadoop.hive.ql.session.SessionState;
 import org.apache.hadoop.hive.shims.HadoopShims.MiniDFSShim;
 import org.apache.hadoop.hive.shims.ShimLoader;
+import org.junit.Before;
 import org.junit.Test;
 
 /**
@@ -119,6 +120,11 @@ public abstract class FolderPermissionBa
     Assert.assertEquals(0,ret.getResponseCode());
   }
 
+  @Before
+  public void setupBeforeTest() throws Exception {
+    driver.run("USE default");
+  }
+
   @Test
   public void testCreateDb() throws Exception {
     //see if db inherits permission from warehouse directory.

Modified: hive/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hive/trunk/pom.xml?rev=1635349&r1=1635348&r2=1635349&view=diff
==============================================================================
--- hive/trunk/pom.xml (original)
+++ hive/trunk/pom.xml Thu Oct 30 00:13:08 2014
@@ -132,7 +132,7 @@
     <jms.version>1.1</jms.version>
     <jodd.version>3.5.2</jodd.version>
     <json.version>20090211</json.version>
-    <junit.version>4.10</junit.version>
+    <junit.version>4.11</junit.version>
     <kryo.version>2.22</kryo.version>
     <libfb303.version>0.9.0</libfb303.version>
     <libthrift.version>0.9.0</libthrift.version>



Mime
View raw message