You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/18 08:43:14 UTC

[GitHub] [dolphinscheduler] gaojun2048 commented on issue #8972: [Bug] [Server] UT failed in LoggerServer

gaojun2048 commented on issue #8972:
URL: https://github.com/apache/dolphinscheduler/issues/8972#issuecomment-1072187396


   > have checked this issue and found the 'testRemoveTaskLog' UT method throw an exception but UT is successful on my local machine. The method has the following functions:
   > 
   > 1. Create a file '\tmp\remove.log'.
   > 2. Call method 'logClientService.removeTaskLog' to delete the log.
   > 3. Read the file and view the log.
   >    The question is the 3rd step, the file has already been deleted so that throw a 'FileNotFoundException' and cause a logger print 'ERROR' log. I think this one is fine, it is reasonable and the UT result is successful.
   
   So, Is there a problem here? Do I need to modify it ?


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

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