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

Notification

Icon
Error

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

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

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
v3.21

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).

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

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi,

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
Guest
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.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download