hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hashut...@apache.org
Subject svn commit: r1407160 - in /hive/trunk/hbase-handler/src/test/templates: TestHBaseCliDriver.vm TestHBaseNegativeCliDriver.vm
Date Thu, 08 Nov 2012 16:35:49 GMT
Author: hashutosh
Date: Thu Nov  8 16:35:49 2012
New Revision: 1407160

URL: http://svn.apache.org/viewvc?rev=1407160&view=rev
Log:
HIVE-3658 : Unable to generate the Hbase related unit tests using velocity templates on Windows
(Kanna Karanam via Ashutosh Chauhan)

Modified:
    hive/trunk/hbase-handler/src/test/templates/TestHBaseCliDriver.vm
    hive/trunk/hbase-handler/src/test/templates/TestHBaseNegativeCliDriver.vm

Modified: hive/trunk/hbase-handler/src/test/templates/TestHBaseCliDriver.vm
URL: http://svn.apache.org/viewvc/hive/trunk/hbase-handler/src/test/templates/TestHBaseCliDriver.vm?rev=1407160&r1=1407159&r2=1407160&view=diff
==============================================================================
--- hive/trunk/hbase-handler/src/test/templates/TestHBaseCliDriver.vm (original)
+++ hive/trunk/hbase-handler/src/test/templates/TestHBaseCliDriver.vm Thu Nov  8 16:35:49
2012
@@ -100,7 +100,7 @@ public class $className extends TestCase
     try {
       System.out.println("Begin query: " + "$fname");
 
-      qt.addFile("$qf.getCanonicalPath()");
+      qt.addFile("$qfilesMap.get($fname)");
 
       if (qt.shouldBeSkipped("$fname")) {
         System.out.println("Test $fname skipped");

Modified: hive/trunk/hbase-handler/src/test/templates/TestHBaseNegativeCliDriver.vm
URL: http://svn.apache.org/viewvc/hive/trunk/hbase-handler/src/test/templates/TestHBaseNegativeCliDriver.vm?rev=1407160&r1=1407159&r2=1407160&view=diff
==============================================================================
--- hive/trunk/hbase-handler/src/test/templates/TestHBaseNegativeCliDriver.vm (original)
+++ hive/trunk/hbase-handler/src/test/templates/TestHBaseNegativeCliDriver.vm Thu Nov  8 16:35:49
2012
@@ -84,7 +84,7 @@ public class $className extends TestCase
     try {
       System.out.println("Begin query: " + "$fname");
 
-      qt.addFile("$qf.getCanonicalPath()");
+      qt.addFile("$qfilesMap.get($fname)");
 
       if (qt.shouldBeSkipped("$fname")) {
         System.out.println("Test $fname skipped");



Mime
View raw message