system tests / QA Success

User tests: Successful: Unsuccessful:

avatar compojoom
compojoom
29 Oct 2015

On Windows if you kill the robo script when the repository is being cloned, then a file in .git\objects\pack get's locked (most probably by git.exe).

When we try to delete tests/joomla-cms, we are no longer able to do this. The only possible way to then clone would be to manually delete the folder and run robo after that.

avatar compojoom compojoom - open - 29 Oct 2015
avatar compojoom
compojoom - comment - 30 Oct 2015

Actually this shouldn't be a windows only problem and you should be able to reproduce it on a mac. When you run robo run:tests and the script starts cloning kill the script when you see the loading percents - like at 20%. Then run the test again. Most probably it will not be able to delete some files, because they are locked.

avatar therunnergit
therunnergit - comment - 30 Oct 2015

I consider this a more generic case, there's a lot of reasons why you may not be able to delete the folder. I was able to reproduce on Linux by purposefully setting different permissions to the folder, and I can confirm your code provides a correct information message.
@Test works fine.

avatar zero-24 zero-24 - change - 30 Oct 2015
Milestone Added: 3.4.2
avatar therunnergit
therunnergit - comment - 30 Oct 2015

@compojoom can you please fix conflicts by replacing both occurrences of 'tests/joomla-cms3' with $this->cmsPath?

avatar compojoom
compojoom - comment - 31 Oct 2015

closing in favor of #131

avatar compojoom compojoom - close - 31 Oct 2015

Add a Comment

Login with GitHub to post a comment