Test Attachment Cleaner for Visual Studio Ultimate 2010 & Test Professional 2010
Test Attachment Cleaner can be used to:
a. Determine which set of diagnostic captures (run as part of manual/automated test runs) are taking up how much space AND
b. Reclaim the space for test runs which are no longer relevant from business perspective
Does the job, But would be even better if I could run it to collect the size for each team project, as it's now I need to run it for every teamproject, having 200+ team projects it's quite hard to determin witch projects to clean.
When VStudio 2010 came out in beta, my database grew way too big because of a beta bug in TFS. The team let me use this tool after putting in an issue in Connect. The tool wiped out the extra data with ease and quickly. This tool is definately needed for any TFS admin.
What is the file extension for this type of test file "TMITestRunReverseDeploymentFiles"?
What is the file extension for code coverage files and is there any reason to keep these files around long term?
Is the schema file for the settingfile file available? And just as with the cleanup settings in Team Build, I'd like to be able to filter on build status, use the x latest builds option of a specific status and to exclude any test data associated to a Retain Indefinitely build.
Is this possible with the current tool?
If I run the clean up with a linkedbugs element I get the error TF51005 "query is using a field which does not exists <<state>>". I'm using the german templates where it has another name so I guess the cleaner is only working with the english templates 100%.
I found a bug in the tool for when TFS runs non english operating system. The issue is related to a wit query which use a field "state" whitout prefix it with system.
To workaround I had to build my own tool (not a command line one, I prefer a windows services.)
Over at http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/2136f235-af66-47e5-a3b7-b7436ad96312 i have docuemnted my issue with TCMPT.
The DB has grown 2G in the last week, and the manual SQL reports show tis is in the .dll & .pdb extensions, however a
<AgeInDays OlderThan="1" NewerThan="7" />
query finds nothing ?
=> Does the tool have a bug ?
I had about the same problem, so I added Test Attachemt Size window to the Tfs Administrators Toolkit (http://visualstudiogallery.msdn.microsoft.com/11f5e313-ced1-4713-9794-d7300c7d12e0) , with integration towards the Test Attachment Cleaner tcmpt.
When I try to delete attachements, I get the following error message:
"Error deleting attachments: 'Team Foundation services are not available from server XXX.
Technical information (for administrator): The operation has timed out'"