hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject svn commit: r1656587 - /hive/trunk/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestWebHCatE2e.java
Date Mon, 02 Feb 2015 21:44:51 GMT
Author: thejas
Date: Mon Feb  2 21:44:51 2015
New Revision: 1656587

URL: http://svn.apache.org/r1656587
Log:
HIVE-9539 : Wrong check of version format in TestWebHCatE2e.getHiveVersion() (Damien Carol
& Alexander Pivovarov, via Thejas Nair)

Modified:
    hive/trunk/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestWebHCatE2e.java

Modified: hive/trunk/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestWebHCatE2e.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestWebHCatE2e.java?rev=1656587&r1=1656586&r2=1656587&view=diff
==============================================================================
--- hive/trunk/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestWebHCatE2e.java
(original)
+++ hive/trunk/hcatalog/webhcat/svr/src/test/java/org/apache/hive/hcatalog/templeton/TestWebHCatE2e.java
Mon Feb  2 21:44:51 2015
@@ -249,7 +249,7 @@ public class TestWebHCatE2e {
     Map<String, Object> props = JsonBuilder.jsonToMap(p.responseBody);
     Assert.assertEquals("hive", props.get("module"));
     Assert.assertTrue(p.getAssertMsg(),
-        ((String) props.get("version")).matches("0.[0-9]+.[0-9]+.*"));
+        ((String) props.get("version")).matches("[0-9]+.[0-9]+.[0-9]+.*"));
   }
 
   @Test



Mime
View raw message