JustTest Shadow Copy Access Issue

4 posts, 0 answers
  1. Kevin
    Kevin avatar
    2 posts
    Member since:
    Sep 2014

    Posted 23 Sep 2014 Link to this post

    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?
  2. Svetlozar
    Admin
    Svetlozar avatar
    271 posts

    Posted 26 Sep 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. Kevin
    Kevin avatar
    2 posts
    Member since:
    Sep 2014

    Posted 29 Sep 2014 in reply to Svetlozar Link to this post

    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?
  5. Svetlozar
    Admin
    Svetlozar avatar
    271 posts

    Posted 02 Oct 2014 Link to this post

    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.

     
Back to Top