Skip to content

Commit 43850e7

Browse files
authored
Annotate test with IsPreciseGcSupported (#86869)
Fixes #86861
1 parent b134fa2 commit 43850e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.UnitTests/System/Runtime/InteropServices/PosixSignalRegistrationTests.Unix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public void SignalHandlerNotCalledWhenDisposed()
139139
Thread.Sleep(100);
140140
}
141141

142-
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotMobile))]
142+
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotMobile), nameof(PlatformDetection.IsPreciseGcSupported))]
143143
public void SignalHandlerNotCalledWhenFinalized()
144144
{
145145
PosixSignal signal = PosixSignal.SIGCONT;

0 commit comments

Comments
 (0)