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

Notification

Icon
Error

Stuck pending tests in processing queue
alastairs
#1 Posted : Thursday, November 26, 2020 4:07:31 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/13/2011(UTC)
Posts: 54
Location: Cambridge, UK

Thanks: 22 times
Was thanked: 4 time(s) in 4 post(s)
Hi there

A bunch of my tests are stuck in the pending state, even across VS restarts, as illustrated in this screenshot:

Stuck pending tests in processing queue

The tests in question are acceptance-style tests than run an ASP.NET Core application through the Test Host and communicate with a SQL Server instance running in Docker. No matter what I try, I cannot remove these stuck tests from the queue, nor can I run those tests manually—they appear to be blocked by the pending runs.

I'm now running the 4.6 release candidate from this thread, but I first noticed this behaviour after upgrading to 4.5 around 1-2 weeks ago. (I tried the RC to see if it fixed the issue.) I'm also wondering if it's related to this issue.

Many thanks in advance!
Remco
#2 Posted : Thursday, November 26, 2020 11:42:16 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi, thanks for posting.

Can you confirm whether the tests have a required capability configured? This could cause them to not be executed if the machine does not have an equivalent compatibility setting in place.
alastairs
#3 Posted : Friday, November 27, 2020 9:37:34 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/13/2011(UTC)
Posts: 54
Location: Cambridge, UK

Thanks: 22 times
Was thanked: 4 time(s) in 4 post(s)
Thanks Remco :) I've not configured distributed or grid processing at all, and can't find any mention of capabilities in the repo.
Remco
#4 Posted : Friday, November 27, 2020 10:49:50 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Can you check if this setting is responsible?

I also recommend turning on the 'Required Capabilities' column in the processing queue window just to be sure there isn't a capability declared somewhere for these tests.
1 user thanked Remco for this useful post.
alastairs on 11/27/2020(UTC)
alastairs
#5 Posted : Friday, November 27, 2020 12:42:10 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/13/2011(UTC)
Posts: 54
Location: Cambridge, UK

Thanks: 22 times
Was thanked: 4 time(s) in 4 post(s)
It was indeed that "tests to execute" setting - thanks for pointing it out. I must have set it a long time ago 😂
1 user thanked alastairs for this useful post.
Remco on 11/27/2020(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