Author: khorgath Date: Fri Mar 28 22:13:48 2014 New Revision: 1582895 URL: http://svn.apache.org/r1582895 Log: HIVE-6592 : WebHCat E2E test abort when pointing to https url of webhdfs (Deepesh Khandelwal via Sushanth Sowmyan)
Modified: hive/trunk/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm Modified: hive/trunk/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm?rev=1582895&r1=1582894&r2=1582895&view=diff ============================================================================== --- hive/trunk/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm (original) +++ hive/trunk/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm Fri Mar 28 22:13:48 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'}};