# IT:AD:XUnit:HowTo:DisableTestParallelization #
* [[../|(UP)]]
{{indexmenu>.#2|nsort tsort}}
XActLib's tests run into trouble when running in parallel. It's because one test is rebuilding a new Inversion of Control Container (ie Unity) and ServiceLocator -- by destroying any previous one -- while another test was expecting it to be there. A bit of an issue...
## Process ##
One way to solve it is to turn off parallelization.
using XUnit;
...
[assembly: CollectionBehavior(DisableTestParallelization = true)]
## Resources ##
* http://xunit.github.io/docs/running-tests-in-parallel.html