This is a migrated thread and some comments may be shown as answers.

JustTest Shadow Copy Access Issue

3 Answers 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kevin
Top achievements
Rank 1
Kevin asked on 23 Sep 2014, 06:51 PM
Hey,

So far, I'm really enjoying JustCode, but I'm having an issue with the JustTest runner.
If I use it as it comes configured, half of my tests fail with an "Access is denied" error when attempting to shadow copy the DLLs.
I've tried running Visual Studio as Administrator, but it doesn't solve the issue. Turning the shadow copy option off does fix the problem, but means I can't continue working and building while my tests run.

Is there any way I can elevate the privileges that JustCode runs under so that I can keep shadow copying enabled by default?

3 Answers, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 26 Sep 2014, 02:29 PM
Hello,

Thank you for your feedback!

Most probably some process locks the assembly. You can try to find the offending process using Process Explorer. That will give us more information about the problem. 

Could you please give us more information about your test project? Which testing framework do you use? Could you please try to isolate the problem in a simple self-contained solution and send it over so we can investigate on our side? You can open a support ticket and attach the project there.

If you have other problems or questions, please don't hesitate to write back!

Regards,
Svetlozar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kevin
Top achievements
Rank 1
answered on 29 Sep 2014, 01:33 PM
We're currently using some new NUnit tests as well as some legacy MSTest tests. It seems to be that while running the NUnit tests, some of the MSTests also try to run, and since the process that is currently running the NUnit tests has a lock on the JustCode log file, the MSTest runs throw an exception and abort.

Is there a workaround for this?
0
Svetlozar
Telerik team
answered on 02 Oct 2014, 12:10 PM
Hello,

In your case when you have MSTest and NUnit tests JustCode runs 2 executor processes and we have synchronized the log writing with a mutex. We will take another look at that part to check if we have missed something. Could you please open a support ticket and send us your logs? You can find them in %localappdata%\JustCode\Logs.

Regards,
Svetlozar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 1
Answers by
Svetlozar
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or