Welcome Guest! To enable all features please Login or Register.



Churn mode keeps restarting test process
#1 Posted : Tuesday, October 9, 2018 2:30:40 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 448

Thanks: 121 times
Was thanked: 56 time(s) in 54 post(s)

I noticed that when I ran churn mode the test process is restarting every few seconds (dotnet core). Is this intentional behavior and can I change how often it will restart the process?

(The problem in my case is the restart is taking several seconds and I would want to churn in existing process because it is then my test is failing when rerunning it manually from time to time).

#2 Posted : Tuesday, October 9, 2018 11:33:10 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,640

Thanks: 734 times
Was thanked: 934 time(s) in 890 post(s)

Yes, this is intentional. Every time a test task is queued by churn mode, there is a small percentage chance (I think 5% or something like that) of the process being recycled.

This is to ensure that churn mode properly churns out sequence related issues that wouldn't show up if test processes were re-used every time. I realise that this could cause an efficiency decrease on some suites that rely on pre-loaded state being in the test process. If it's a big enough problem, I suppose it could be made configurable .. though that would be yet another config setting in our sea of config settings.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.017 seconds.