/// <summary>
/// Test that log events at or above the default level are collected.
/// </summary>
- [SkippableTheory(Skip = "https://github.com/dotnet/diagnostics/issues/4718"), MemberData(nameof(Configurations))]
+ [SkippableTheory(Skip = "https://github.com/dotnet/diagnostics/issues/2541"), MemberData(nameof(Configurations))]
public async Task TestLogsAllCategoriesDefaultLevel(TestConfiguration config)
{
- if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
- {
- throw new SkipTestException("https://github.com/dotnet/diagnostics/issues/2541");
- }
-
using Stream outputStream = await GetLogsAsync(config, settings => {
settings.UseAppFilters = false;
settings.LogLevel = LogLevel.Warning;
/// Test that log events are collected for the categories and levels specified by the application
/// and for the categories and levels specified in the filter specs.
/// </summary>
- [SkippableTheory(Skip = "https://github.com/dotnet/diagnostics/issues/4718"), MemberData(nameof(Configurations))]
+ [SkippableTheory(Skip = "https://github.com/dotnet/diagnostics/issues/2541"), MemberData(nameof(Configurations))]
public async Task TestLogsUseAppFiltersAndFilterSpecs(TestConfiguration config)
{
- if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
- {
- throw new SkipTestException("https://github.com/dotnet/diagnostics/issues/2541");
- }
-
using Stream outputStream = await GetLogsAsync(config, settings => {
settings.FilterSpecs = new Dictionary<string, LogLevel?>()
{