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

Szilard Nemeth commented on YARN-9133:
--------------------------------------

Patch004 corrects the javac warning about deprecated method. 
The findbugs issue in GpuDiscoverer can't be fixed as tests are using the 
instance field. YARN-9121 will abandon the singleton pattern and inject the 
instance of GpuDiscoverer everywhere.

> Make tests more easy to comprehend in TestGpuResourceHandler
> ------------------------------------------------------------
>
>                 Key: YARN-9133
>                 URL: https://issues.apache.org/jira/browse/YARN-9133
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: YARN-9133.001.patch, YARN-9133.001.patch, 
> YARN-9133.002.patch, YARN-9133.003.patch
>
>
> Tests are not quite easy to read: 
> - Some more helper methods would improve readability.
> - Eliminating the boolean flag that controls if docker is used would also 
> improve readability and clarity.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to