I occasionally get the error:
[MSTest report watcher] Parsing errors
[10:06:17][Parsing errors] Failed to parse 1 report
[10:06:17][Parsing errors] TestResults\*snip*.trx: XML document structures must start and end within the same entity.
but as far as I can tell there's nothing wrong the file, it opens up in VS. The same build will succeed next time, w/o any change (the build will clean the results folder first).
The build itself is a rake script, executing MSTest via albacore.
Any ideas? Should I let it sleep a bit after running the tests?