[Mono-dev] Re: new test framework works on dotnet

Andrew Skiba andrews at mainsoft.com
Mon May 22 03:57:34 EDT 2006


Hi Robert.

Thank you for the response. 

Helper.Unload () should be called at least once at the end, otherwise
some files are left on the disk. But as nunit has no global tear down
callback, probably the right time to call it is in fixture tear down.

To check your suspect about the relation between Unload and the hang
problem, I surrounded the Unload with Sleep. With 100 ms sleep I was
unable to reproduce the hang on linux. But on linux even without sleep
it's much harder to reproduce the hang than on cygwin. On cygwin even 2
seconds around unload were not enough. But even 100 milli before each
test were enough to make the problem disappear on my cygwin.

Andrew.

> Hi,
> 
> >> Some tests pass on Mono, but some of them need more 
> effort. Sometimes 
> >> mono vm stucks, I worked around that by adding Sleep at 
> the beginning 
> >> of each test. Some tests still fail.
> > 
> > Mhm, very strange.
> > 
> > Could you send a QUIT signal to the Mono process when it 
> hangs?  This 
> > will help pinpoint.
> 
> Maybe it's the appdomain unloading issue. Is Helper.Unload() 
> really necessary?
> 
> Robert
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 



More information about the Mono-devel-list mailing list