You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2016/11/16 18:43:40 UTC

hive git commit: HIVE-15220 : WebHCat test driver not capturing end time of test accurately (Deepesh Khandelwal via Thejas Nair)

Repository: hive
Updated Branches:
  refs/heads/master 5aff550b9 -> 085650e0c


HIVE-15220 : WebHCat test driver not capturing end time of test accurately (Deepesh Khandelwal via Thejas Nair)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/085650e0
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/085650e0
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/085650e0

Branch: refs/heads/master
Commit: 085650e0cb5e9c4be219673c4909db3a8c4a979d
Parents: 5aff550
Author: Deepesh Khandelwal <de...@hotmail.com>
Authored: Wed Nov 16 10:43:32 2016 -0800
Committer: Thejas Nair <th...@hortonworks.com>
Committed: Wed Nov 16 10:43:32 2016 -0800

----------------------------------------------------------------------
 hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/085650e0/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm
----------------------------------------------------------------------
diff --git a/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm b/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm
index 2eac653..b965eec 100644
--- a/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm
+++ b/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm
@@ -1415,7 +1415,6 @@ sub run
         my ($testResult, $benchmarkResult);
         eval {
           $testResult = $self->runTest(\%testHash, $log);
-          $endTime = time;
           $benchmarkResult = $self->generateBenchmark(\%testHash, $log);
           my $result =
             $self->compare($testResult, $benchmarkResult, $log, \%testHash);
@@ -1433,6 +1432,7 @@ sub run
             $testStatuses->{$testName} = $failedStr;
 
           }
+          $endTime = time;
           $msg .= "\nEnding test $testName at " . $endTime ."\n";
           #print $msg;
           print $log $msg;