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

Notification

Icon
Error

Cannot debug a test excluded by a filter for "this computer"
GreenMoose
#1 Posted : Monday, February 2, 2015 1:55:32 PM(UTC)
Rank: Advanced Member

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

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
v2.13.0.1

I try to debug an http integration test, which normally runs outside (local) testrunner due to a filter I have set up on "Test filter" for this machine.

However processing queue only states "Pending" when I try to debug it, i.e. it does seem to wait for it to be started on remote machine where it can be run?

Shouldn't NCrunch ignore the test filter during debugging, how can I otherwise debug it?

Thanks.

*Edit: Weird, I cannot even run it when modifying the filter so it should no longer prevent it. Bug report submitted, trying with a vstudio restart.
*Edit2: The "Test filter builder" takes about 16s to be displayed :/
*Edit3: Restarting vstudio did it, is the filter cached in some way?
Remco
#2 Posted : Tuesday, February 3, 2015 12:29:03 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Debug tests can only be run on the local machine. This may explain why the test was stuck in the queue - the Test filter prevented it from running, so it just stayed there.

I've just managed to reproduce the problem with the Test Filter not updating. This is probably a regression caused by the engine separation. Restarting the IDE does cause it to update itself again from the configuration. I'll see if I can get this fixed.

When the test filter builder took 16 seconds to show, was the engine doing any processing? Sometimes when the core engine thread is overloaded, it can become unresponsive to requests from the UI.
GreenMoose
#3 Posted : Tuesday, February 3, 2015 7:21:13 AM(UTC)
Rank: Advanced Member

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

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
Remco;6919 wrote:
Debug tests can only be run on the local machine. This may explain why the test was stuck in the queue - the Test filter prevented it from running, so it just stayed there.

Wouldn't it make sense to automatically "ignore" those filters when debugging is requested?

Remco;6919 wrote:

When the test filter builder took 16 seconds to show, was the engine doing any processing? Sometimes when the core engine thread is overloaded, it can become unresponsive to requests from the UI.

No it takes that every time, actually it takes 16 for the dialog to show, and 21s to complete "loading".
Test filter is not that complicated I think: http://screencast.com/t/4HhiXJ0W
Remco
#4 Posted : Tuesday, February 3, 2015 10:33:44 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
GreenMoose;6926 wrote:

Wouldn't it make sense to automatically "ignore" those filters when debugging is requested?


Yes. I'll look into this.

GreenMoose;6926 wrote:

No it takes that every time, actually it takes 16 for the dialog to show, and 21s to complete "loading".
Test filter is not that complicated I think: http://screencast.com/t/4HhiXJ0W


That's definitely not right. I'll see if I can reproduce this and will get back to you.
Remco
#5 Posted : Thursday, February 5, 2015 11:57:34 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
I'm having some trouble reproducing the performance issue in the test filter window ..

Can you confirm whether this problem appears for you on a fresh empty solution?
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.037 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download