Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests throws invalid operation exception #8386

Closed
jmarolf opened this issue Feb 4, 2016 · 1 comment
Labels
Area-Interactive Interactive-ScriptingIDE Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented Test Test failures in roslyn-CI
Milestone

Comments

@jmarolf
Copy link
Contributor

jmarolf commented Feb 4, 2016

Seeing this often on release builds

xUnit.net Console Runner (32-bit .NET 4.0.30319.42000)
  Discovering: Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests
  Discovered:  Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests
  Starting:    Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests
    Microsoft.CodeAnalysis.UnitTests.GlobalAssemblyCacheTests.GetAssemblyIdentities [SKIP]
      https://github.com/dotnet/roslyn/issues/6179
  Finished:    Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at System.Diagnostics.Tracing.EventListener.DisposeOnShutdown(Object sender, EventArgs e)
@davkean
Copy link
Member

davkean commented Feb 20, 2016

This is due to the event listener bug: #6358.

I've turned off AppDomain isolation in #8534 and #8672.

@davkean davkean closed this as completed Feb 20, 2016
@davkean davkean added the Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented label Feb 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Interactive Interactive-ScriptingIDE Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented Test Test failures in roslyn-CI
Projects
None yet
Development

No branches or pull requests

3 participants