Skip to content

Commit 22a70bc

Browse files
Update GC restricted callout test conditions
Co-authored-by: jkoritzinsky <[email protected]>
1 parent 96dc9f8 commit 22a70bc

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • src/tests/Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke

‎src/tests/Interop/COM/ComWrappers/GcRestrictedCalloutReversePInvoke/Program.cs‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111

1212
public class Program
1313
{
14-
[ActiveIssue("https://github.com/dotnet/runtime/issues/131989", typeof(TestLibrary.CoreClrConfigurationDetection), nameof(TestLibrary.CoreClrConfigurationDetection.IsGCStress))]
15-
[ActiveIssue("https://github.com/dotnet/runtime/issues/131989", typeof(TestLibrary.CoreClrConfigurationDetection), nameof(TestLibrary.CoreClrConfigurationDetection.IsAnyJitStress))]
16-
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsMultithreadingSupported))]
14+
public static bool IsSupportedConfiguration =>
15+
TestLibrary.PlatformDetection.IsMultithreadingSupported &&
16+
!TestLibrary.CoreClrConfigurationDetection.IsGCStress;
17+
18+
[ConditionalFact(typeof(Program), nameof(IsSupportedConfiguration))]
1719
public static void TestEntryPoint()
1820
{
1921
ComWrappers.RegisterForTrackerSupport(TrackerComWrappers.Instance);

0 commit comments

Comments
 (0)