You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kh...@apache.org on 2014/03/28 23:56:10 UTC

svn commit: r1582899 - /hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm

Author: khorgath
Date: Fri Mar 28 22:56:10 2014
New Revision: 1582899

URL: http://svn.apache.org/r1582899
Log:
HIVE-6592 : WebHCat E2E test abort when pointing to https url of webhdfs (Deepesh Khandelwal via Sushanth Sowmyan) (backport to 0.13)

Modified:
    hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm

Modified: hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm?rev=1582899&r1=1582898&r2=1582899&view=diff
==============================================================================
--- hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm (original)
+++ hive/branches/branch-0.13/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm Fri Mar 28 22:56:10 2014
@@ -458,6 +458,11 @@ sub execCurlCmd(){
 
   my $url = $testCmd->{ $argPrefix . 'url'};
 
+  #allow curl to make insecure ssl connections and transfers
+  if ($url =~ /^https:/) {
+    push @curl_cmd, '-k';
+  }
+
   my @options = ();
   if (defined $testCmd->{$argPrefix . 'post_options'}) {
     @options = @{$testCmd->{$argPrefix . 'post_options'}};