Skip to content

Commit f7e71f0

Browse files
authored
Make PR run .NET 10 tests (#8041)
1 parent b2f6a6b commit f7e71f0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
<!-- Filter tests based on specified TestGroup -->
3434
<PropertyGroup Condition="'$(TestGroup)' == 'PR'">
35-
<!-- Only run tests for .NET 9 -->
36-
<TestRunnerFilterArguments>TargetFrameworkMoniker=Net90</TestRunnerFilterArguments>
35+
<!-- Only run tests for .NET 10 -->
36+
<TestRunnerFilterArguments>TargetFrameworkMoniker=Net100</TestRunnerFilterArguments>
3737
<TestRunnerAdditionalArguments>$(TestRunnerAdditionalArguments) --filter "$(TestRunnerFilterArguments)"</TestRunnerAdditionalArguments>
3838
</PropertyGroup>
3939

src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/LiveMetricsTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ await ScenarioRunner.SingleTarget(
362362
}
363363

364364
#if NET8_0_OR_GREATER
365+
// See https://github.com/dotnet/dotnet-monitor/issues/8042
366+
#if !NET10_0
365367
[Fact]
366368
public async Task TestSystemDiagnosticsMetrics_MeterInstrumentTags()
367369
{
@@ -442,6 +444,7 @@ await ScenarioRunner.SingleTarget(
442444
});
443445
});
444446
}
447+
#endif
445448
#endif
446449
}
447450
}

0 commit comments

Comments
 (0)