Build/Test Issues

Issue while running test in Distributed Grid .

Started by Tausif on 4,821 views

Hi Team,

We are in POC mode, need to complete the demo in order to go for license.
Getting the error: TestFixtureSetUp failed in ......
same test case I executed with local server it executed fine without any error.
When I selected grid server to above error is thrown(TestFixtureSetUp failed in ......)

finally I pointed to the location in the grid where ncrunch has created the dll for my test suit.
executed this test case with Nunit GUI it was working at the grid location.

Please suggest if I am missing any setting ?
Nunit GUI: 2.6.4.14350
Nunit dll which I am using in my code: 2.6.2.

We are left with only 15 days trial day,
will be thankful for your quick response.


--------------------------------------------------
Now I am getting this error.

SetUp : System.ServiceModel.CommunicationException : An error occurred while making the HTTP request to (- BROKEN LINK -). This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.
----> System.Net.WebException : The underlying connection was closed: An unexpected error occurred on a send.
----> System.IO.IOException : Authentication failed because the remote party has closed the transport stream.

Edited

Hi, thanks for sharing this issue.

The exception you've described isn't originating from NCrunch - this is coming from either your test code or your code under test. NCrunch communicates over its grid directly using TCP streams, where this exception seems to be HTTPS related.

Without knowledge of your code, unfortunately it isn't possible for me to provide you with a solution to this problem. However, looking at this error, I would speculate that the remote grid server responsible for running the test needs to have an SSL certificate installed on it in order to run your application.

Is it possible that the remote grid server is missing some key piece of configuration necessary for the execution of your code?
Can you pleas help me in understanding one point.

1.In case if want to run 5 test case from a set of 20 test case in grid 1 and remaining 15 test on my local or grid 2 how can I do it.?
Will be Thankful to you if you can give more details tutorial on the
http://www.ncrunch.net/documentation/reference_runtime-framework_requires-capability-attribute
on the below concept also
http://www.ncrunch.net/documentation/reference_global-configuration_test-filter

Because my doubt is if my grid server name is abc with ip x.x.x.x, is this need to be same or match the string inside

[NCrunch.Framework.RequiresCapability("abc")]

?

Post a reply

Log in to reply.