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

Notification

Icon
Error

Endless Churn while logged out?
nguyette
#1 Posted : Wednesday, May 9, 2018 8:17:19 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/8/2018(UTC)
Posts: 8
Location: United States of America

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
I assume there's a way to run Endless Churn while logged out of my computer. How do you do this?
Remco
#2 Posted : Wednesday, May 9, 2018 8:50:07 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting.

At the moment, I can't think of a way that this could be possible. Churn Mode exists as a UI-based feature (i.e. requires the NCrunch VS Plugin to work). It don't think it's really possible to leave VS running while you are logged out of the machine.

Why do you need this? Do you have restricted login periods at your site?
nguyette
#3 Posted : Wednesday, May 9, 2018 8:52:23 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/8/2018(UTC)
Posts: 8
Location: United States of America

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Yes, we must be logged out of our computers when we leave the desk. Churning like this would be useful to run exploratory testing or integration tests overnight.
nguyette
#4 Posted : Wednesday, May 9, 2018 9:04:03 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/8/2018(UTC)
Posts: 8
Location: United States of America

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
With the distributed processing that available, NCrunch can copy over the source code to a remote machine, run the tests, and report the results. Why wouldn't it be possible to the last copy of the tests via a NCrunch service on the local machine after VS has closed, and run the tests in churn mode until VS is started back up? Once VS is started you could look at the results of the endless churn from the NCrunch service.
Remco
#5 Posted : Wednesday, May 9, 2018 11:22:26 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Right now all the critical state for your NCrunch session is stored on the client machine. The remote server is essentially a slave - it holds only the data it needs to be able to perform work and return results. The actual processing queue and all the coordination happens on the client side. So this wouldn't be possible without some major rearchitecture.

What options do you have for locking your workstation instead of signing out? Locking the workstation would allow tasks to continue to run in the background, while still giving much of the security benefits of being signed out of the machine.
1 user thanked Remco for this useful post.
nguyette on 5/10/2018(UTC)
nguyette
#6 Posted : Thursday, May 10, 2018 3:49:30 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/8/2018(UTC)
Posts: 8
Location: United States of America

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
I didn't know applications still ran in the background while locked. This should work!
1 user thanked nguyette for this useful post.
Remco on 5/10/2018(UTC)
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.033 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download