Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
DavoudEshtehari committed Sep 3, 2020
1 parent 33b6fe5 commit d47e255
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@
<ItemGroup Condition="'$(TargetGroup)'=='netcoreapp'">
<Compile Include="TracingTests\DiagnosticTest.cs" />
<Compile Include="TracingTests\FakeDiagnosticListenerObserver.cs" />
</ItemGroup>
<!-- .Net core 3.0 & .Net standard 2.1 and above -->
<ItemGroup Condition="'$(TargetGroup)'=='netcoreapp' AND !$(TargetFramework.StartsWith('netcoreapp2')) AND !$(ReferenceType.Contains('netcoreapp2')) AND !$(ReferenceType.Contains('NetStandard2.0'))">
<Compile Include="TracingTests\EventCounterTest.cs" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

namespace Microsoft.Data.SqlClient.ManualTesting.Tests
{
/// <summary>
/// This unit test is just valid for .NetCore 3.0 and above
/// </summary>
public class EventCounterTest
{
[ConditionalFact(typeof(DataTestUtility), nameof(DataTestUtility.AreConnStringsSetup))]
Expand Down

0 comments on commit d47e255

Please sign in to comment.