File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ await ScenarioRunner.SingleTarget(
72
72
} ) ;
73
73
}
74
74
75
+ #if NET8_0_OR_GREATER
75
76
/// <summary>
76
77
/// Validates that a startup rule will execute and complete without action beyond
77
78
/// discovering the target process.
@@ -110,6 +111,7 @@ await ScenarioRunner.SingleTarget(
110
111
ruleCompletedTask = runner . WaitForCollectionRuleCompleteAsync ( DefaultRuleName ) ;
111
112
} ) ;
112
113
}
114
+ #endif
113
115
114
116
/// <summary>
115
117
/// Validates that a non-startup rule will complete when it has an action limit specified
@@ -289,6 +291,7 @@ await ScenarioRunner.SingleTarget(
289
291
} ) ;
290
292
}
291
293
294
+ #if NET8_0_OR_GREATER
292
295
/// <summary>
293
296
/// Validates that a collection rule with a managed entry point assembly name filter can be matched to the
294
297
/// target process.
@@ -350,6 +353,7 @@ await ScenarioRunner.SingleTarget(
350
353
filteredTask = runner . WaitForCollectionRuleUnmatchedFiltersAsync ( DefaultRuleName ) ;
351
354
} ) ;
352
355
}
356
+ #endif
353
357
354
358
/// <summary>
355
359
/// Validates that a change in the collection rule configuration is detected and applied correctly.
You can’t perform that action at this time.
0 commit comments