mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
Fix memory leak when running SpecFlow tests
As a workaround for nunit reporting obscure AppDomainUnloadedException, update the .config file to disable lagacy exception handling policy. --HG-- branch : 1.x
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
<!-- Ensure that test exceptions don't crash NUnit -->
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
<legacyUnhandledExceptionPolicy enabled="0" />
|
||||||
|
|
||||||
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
||||||
<loadFromRemoteSources enabled="true" />
|
<loadFromRemoteSources enabled="true" />
|
||||||
|
Reference in New Issue
Block a user