Hi all,

I have found the cause for that behaviour.
And of course it was not a problem of MbUnit!

An unmanged class throws an unmanaged exception in some circumstances
(I think it depends on when the garbage collector trod the arena).
I have eliminated the problem and all tests runs without any surprises.

Sorry for keeping you busy with such a problem and thanks a lot for
your help.

Sven

Andrew Stopford wrote:
> Hi Sven,
>
> To help repro the issue I will need a simple test that does as your describe
> at your end.
>
> Can you for testing purposes reduce your tests to a small subset (say 10)
> that have no database access. Run these through and see if they run ok with
> reports etc. If these run ok then add in 10 more tests with database access
> and so on. I need to check that it's not a load issue nor a threading issue
> with COM. If you get the issue in the first 10 then reduce to 5 and if you
> still get the issue then can simplify the test's for repro here.
>
> Thanks
>
> Andy
>
>
> On 9/12/06, Sven <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hello Ben,
> >
> > In most cases it stop after all tests have finished before creating the
> > report.
> > The test don't involve HTTP requests but database connections using
> > oledb and sqlserver access. I'm also using Enterprise Services for some
> > transactions but I have had the problem before using Enterprise
> > Services, too. Yes I'm using an older version of TD.net addin.
> >
> > I would be happy if we could eliminate this problem because the nigthly
> > builds often hangs, so if you have further questions about it I will
> > try to answer them as detailed as possible.
> >
> > Thanks,
> > Sven
> >
> > Ben Hall wrote:
> > > Hello Sven,
> > >
> > > Thanks for your email.
> > >
> > > I haven't looked at MB-39, so flying blind with the questions at the
> > > moment.  The number of tests shouldn't be a problem as I have used a
> > > test suite with MbUnit with around 500 tests without any problems at
> > > all.
> > >
> > > If you don't mind answering some initial questions, it will help me
> > > when looking into the problem (hopefully sometime this week, but I
> > > can't promise).
> > >
> > > Does it stop at any particular point/test?  What kind of tests are you
> > > using, do they involve HTTP requests, database connections, any
> > > external services?
> > >
> > > When you mention running it within Team Edition, are you using the
> > TD.net addin?
> > >
> > > Thanks
> > >
> > > Ben
> > >
> > >
> > > On 11/09/06, Sven <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > > I have some issues when running tests.
> > > >
> > > > 1. When running tests using the msbuild tasg of mbunit the test
> > > > execution often hangs. I can't say exactly when it happens. Very often
> > > > all tests were executed the last message was the summary and no report
> > > > was be created. In some cases when deleting the output directory the
> > > > task ends successfully. But in some cases the task hangs after a view
> > > > tests were executed and some remain to be executed.
> > > > Before using the mbunit msbuild task, I used the mbunit console
> > > > application with an separate file containing a list of all assemblies
> > > > to be tested and I have had the same behaviour. Sometimes the tests
> > > > hangs when running from within VS 2005 Developer Team Edtion.
> > > > Any idea?
> > > >
> > > > 2. When the tests have finished and the html report was generated
> > > > successfully the report doesn't looks as expected. The Html report
> > > > repeats information. The result is the same as described in MBUNIT-39
> > > > (Core, NAnt-Task). Seems to be a general issue - not just limited to
> > > > NAnt-Task.
> > > >
> > > > Maybe some facts will help:
> > > > Used MbUnit Version 2.3.71
> > > > No of tests: about 200
> > > >
> > > > Thanks for your help.
> > > > Sven
> > > >
> > > >
> > > > >
> > > >
> >
> >
> > >
> >
>
> ------=_Part_7421_10417858.1158048735774
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 4149
>
> <div>Hi Sven,</div>
> <div>&nbsp;</div>
> <div>To help repro the issue I will need a simple test that does as your 
> describe at your end.</div>
> <div>&nbsp;</div>
> <div>Can you for testing purposes reduce your tests to a small subset (say 
> 10) that have no database access. Run these through and see if they run ok 
> with reports etc. If these run ok then add in 10 more tests with database 
> access and so on. I need to check that it's not a load issue nor a threading 
> issue with COM.&nbsp;If you get the issue in the first 10 then reduce to 5 
> and if you still get the issue then can simplify the test's for repro here.
> </div>
> <div>&nbsp;</div>
> <div>Thanks</div>
> <div>&nbsp;</div>
> <div>Andy&nbsp;<br><br>&nbsp;</div>
> <div><span class="gmail_quote">On 9/12/06, <b 
> class="gmail_sendername">Sven</b> &lt;<a href="mailto:[EMAIL 
> PROTECTED]">[EMAIL PROTECTED]</a>&gt; wrote:</span>
> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 
> 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hello Ben,<br><br>In most cases it 
> stop after all tests have finished before creating the<br>report.<br>
> The test don't involve HTTP requests but database connections using<br>oledb 
> and sqlserver access. I'm also using Enterprise Services for 
> some<br>transactions but I have had the problem before using 
> Enterprise<br>Services, too. Yes I'm using an older version of
> TD.net addin.<br><br>I would be happy if we could eliminate this problem 
> because the nigthly<br>builds often hangs, so if you have further questions 
> about it I will<br>try to answer them as detailed as possible.<br><br>Thanks,
> <br>Sven<br><br>Ben Hall wrote:<br>&gt; Hello Sven,<br>&gt;<br>&gt; Thanks 
> for your email.<br>&gt;<br>&gt; I haven't looked at MB-39, so flying blind 
> with the questions at the<br>&gt; moment.&nbsp;&nbsp;The number of tests 
> shouldn't be a problem as I have used a
> <br>&gt; test suite with MbUnit with around 500 tests without any problems 
> at<br>&gt; all.<br>&gt;<br>&gt; If you don't mind answering some initial 
> questions, it will help me<br>&gt; when looking into the problem (hopefully 
> sometime this week, but I
> <br>&gt; can't promise).<br>&gt;<br>&gt; Does it stop at any particular 
> point/test?&nbsp;&nbsp;What kind of tests are you<br>&gt; using, do they 
> involve HTTP requests, database connections, any<br>&gt; external 
> services?<br>&gt;<br>
> &gt; When you mention running it within Team Edition, are you using the 
> TD.net addin?<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; 
> Ben<br>&gt;<br>&gt;<br>&gt; On 11/09/06, Sven &lt;<a href="mailto:[EMAIL 
> PROTECTED]">[EMAIL PROTECTED]
> </a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Hi,<br>&gt; &gt; I have some issues 
> when running tests.<br>&gt; &gt;<br>&gt; &gt; 1. When running tests using the 
> msbuild tasg of mbunit the test<br>&gt; &gt; execution often hangs. I can't 
> say exactly when it happens. Very often
> <br>&gt; &gt; all tests were executed the last message was the summary and no 
> report<br>&gt; &gt; was be created. In some cases when deleting the output 
> directory the<br>&gt; &gt; task ends successfully. But in some cases the task 
> hangs after a view
> <br>&gt; &gt; tests were executed and some remain to be executed.<br>&gt; 
> &gt; Before using the mbunit msbuild task, I used the mbunit console<br>&gt; 
> &gt; application with an separate file containing a list of all assemblies
> <br>&gt; &gt; to be tested and I have had the same behaviour. Sometimes the 
> tests<br>&gt; &gt; hangs when running from within VS 2005 Developer Team 
> Edtion.<br>&gt; &gt; Any idea?<br>&gt; &gt;<br>&gt; &gt; 2. When the tests 
> have finished and the html report was generated
> <br>&gt; &gt; successfully the report doesn't looks as expected. The Html 
> report<br>&gt; &gt; repeats information. The result is the same as described 
> in MBUNIT-39<br>&gt; &gt; (Core, NAnt-Task). Seems to be a general issue - 
> not just limited to
> <br>&gt; &gt; NAnt-Task.<br>&gt; &gt;<br>&gt; &gt; Maybe some facts will 
> help:<br>&gt; &gt; Used MbUnit Version 2.3.71<br>&gt; &gt; No of tests: about 
> 200<br>&gt; &gt;<br>&gt; &gt; Thanks for your help.<br>&gt; &gt; Sven<br>
> &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt;<br>&gt; 
> &gt;<br><br><br><br><br></blockquote></div><br>
> 
> ------=_Part_7421_10417858.1158048735774--


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/MbUnitUser
-~----------~----~----~----~------~----~------~--~---

Reply via email to