Skip to content

Commit

Permalink
Fix assemblyInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbrandenburg committed Dec 4, 2018
1 parent 594ae52 commit 7ff6bbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Logging/Logging.EventSource/test/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using Xunit;

// There can only be one EventSource per AppDomain, and when an event is raised through that EventSource,
// all existing listeners that enabled that EventSource will receive the event.
// This makes running EventSourceLogger tests in parallel difficult. We mark this assembly
// with CollectionBehavior.CollectionPerAssembly to ensure that all tests in this assembly are executed serially.

[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)]

0 comments on commit 7ff6bbd

Please sign in to comment.