Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

New Post: TFS Consecutively Queued Builds

$
0
0
It seems when multiple builds are queued up on our TFS build server consecutively, the second one always fails because it us unable to clean up the build folder. It is unable to clean it up because it cannot delete phantomjs.exe file. So, I was wondering if Chutzapah.ITestRunner has either methods to close phantomjs.exe, or there's some other way to do it?

I should mention that we are using the Chutzpah library directly. I made a TestOptions class, created a test runner and ran the tests that way.

Exception Message: The directory is not empty.
(type IOException)
Exception Stack Trace: at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Microsoft.TeamFoundation.Common.FileSpec.DeleteDirectory(String path, Boolean recursive)
at Microsoft.TeamFoundation.Build.Workflow.Activities.DeleteDirectory.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>