harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu" <sean.xx....@gmail.com>
Subject Re: [classlib][logging] FileHandler may throw exception when logging to the same file by multiple thread
Date Thu, 11 Sep 2008 13:33:21 GMT
Sounds sensible.
So could I commit it now without the test?

2008/9/11 Tim Ellison <t.p.ellison@gmail.com>:
> Sean Qiu wrote:
>> When we are trying to publish the log information by a Filehandler
>> into a same rotating set of files,
>> it will introduce multi-thread defect.
>> As a result, it will throw such exception[1] while logging.
>> The root cause is that the destination file may be deleted by other
>> thread if they are not synchronized.
>> I have created a jira[3] and attached a workaround for this problem.
>> I am concerned that the test case of this kind will bring performance
>> issue for our unit test,
>> since it is time-consuming and uncertainty.
>> My question is do we have any testing mechanism for this situation?
> How about creating a scenario test for it in the Build/Test
> Infrastructure -- that's where we have put the other long running tests?
> Regards,
> Tim

Best Regards
Sean, Xiao Xia Qiu

China Software Development Lab, IBM

View raw message