jnturton opened a new pull request, #2756:
URL: https://github.com/apache/drill/pull/2756

   # [DRILL-8117](https://issues.apache.org/jira/browse/DRILL-8117): Upgrade 
unit tests to the cluster fixture framework
   
   ## Description
   
   Upgrades various unit tests to the cluster fixture framework and replaces 
other instances of deprecated code usage.
   
   Methods client.alterSession() and client.alterSystem() run sql silently 
which would not throw exception, so it doesn't match the purpose for some test 
cases. And I still keep using run() here for consistence.
   
   For `TestInboundImpersonation`
   Because cluster fixture save client properties even client closed, use a 
dedicated cluster fixture for each test case to ensure the client fixture has 
clean properties.
   
   For `TestImpersonationMetadata`
   Only use one cluster from test start to the end will induce buffer overflow. 
So change BeforeClass to Before to start a new cluster for each test case.
   
   ## Documentation
   
   N/A
   
   ## Testing
   
   Existing unit tests.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to