[ 
https://issues.apache.org/jira/browse/SENTRY-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219044#comment-14219044
 ] 

Xiaomeng Huang commented on SENTRY-508:
---------------------------------------

Thanks [~prasadm] for mentioning the keys. I also tried to refactor setup 
policyfile and cleanDB, but I found the improvement is not very obviously. So I 
just have two improvements to cut down some runtime. The full implementation of 
this umbrella will take more efforts. I think everyone who have another 
improvement can take a sub-task of this umbrella. 

> Improve runtime of 'Sentry Hive Tests' (currently it is >30m)
> -------------------------------------------------------------
>
>                 Key: SENTRY-508
>                 URL: https://issues.apache.org/jira/browse/SENTRY-508
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Lenni Kuff
>             Fix For: 1.5.0
>
>
> Below is a breakdown of the execution time for each for each Sentry package. 
> In most cases, the test runtime is low but the Sentry Hive Tests take 33 
> minutes to complete. We should revisit this test suite to see if the runtime 
> can be cut down.
> {code}
> Sentry        19 sec
> Sentry Bindings         0.11 sec
> Sentry Binding for Hive       42 sec
> Sentry Binding for Solr       6.1 sec
> Sentry core   0.1 sec
> Sentry Core Common    17 sec
> Sentry Core Model DB  3.2 sec
> Sentry Core Model Solr        6.1 sec
> Sentry Distribution   33 sec
> Sentry Policies        2.9 sec
> Sentry Policy Common  0.63 sec
> Sentry Policy for Databases   26 sec
> Sentry Policy for Search      17 sec
> Sentry Providers      87 ms
> Sentry Provider Cache 6 sec
> Sentry Provider Common        17 sec
> Sentry Provider DB    3 min 33 sec
> Sentry Provider File  11 sec
> Sentry Tests  95 ms
> Sentry Hive Tests     33 min
> Sentry Solr Tests     3 min 30 sec
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to