RE: [Madeleine-devel] Closing of files in cygwin-ruby works - if done right
Status: Beta
Brought to you by:
ndrs
From: Stephen S. <ste...@ma...> - 2003-05-13 07:19:43
|
> The normal ruby-mswin still fails because of it's lack > of fsync support. >=20 I changed CommandLogTest in test_persistence so that it closes the file = it is using before attempting to delete it. So now these tests now pass in ruby-mswin about 5 times out of 6. I presume the occasional failures = are due to me having commented out the fsync calls in madeleine.rb. Interestingly test_automatic fails every time with: test_main(ThreadConfidenceTest): NoMethodError: undefined method `plus1' for #<H:0x2aaeb78 @w=3D0> Somehow it's trying to send a command to the wrong object. I'll try to figure out why that is, but I guess it could be due to log corruption = due to lack of fsync. Stephen. |