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

Notification

Icon
Error

Set of Tests listed twice in the NCrunch Processing Queue
rlarno
#1 Posted : Monday, October 10, 2011 1:24:22 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/27/2011(UTC)
Posts: 27
Location: Belgium

Thanks: 6 times
Was thanked: 5 time(s) in 5 post(s)
Hi Remco,

While running our solution at some point in time (have not been able to find the 'trigger'), I get the same set of tests twice in the NCrunch Processing Queue.

Doing a reset resolves the issue again.




Rudi
Remco
#2 Posted : Monday, October 10, 2011 4:43:03 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Believe it or not, this is actually normal behaviour :)

NCrunch will not remove tests from the queue while they are still executing, so if your tests were still running at the time your project was changed, then a new (often identical) task would be queued next to the old one.

It's important to consider this as this behaviour means that a test can be run side-by-side with itself ... so if you have any tests that are using specific resources in a database or the file system, make sure you attribute them with the ExclusivelyUsesAttribute (if you're running tests in parallel that is).
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.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download