diff --git a/rd-net/Test.Lifetimes/Diagnostics/ProcessWatchdogTest.cs b/rd-net/Test.Lifetimes/Diagnostics/ProcessWatchdogTest.cs index 3cbea87de..78611408c 100644 --- a/rd-net/Test.Lifetimes/Diagnostics/ProcessWatchdogTest.cs +++ b/rd-net/Test.Lifetimes/Diagnostics/ProcessWatchdogTest.cs @@ -18,7 +18,11 @@ public class ProcessWatchdogTest : LifetimesTestBase public Task TestWithSleepingProcess() => DoTest(StartSleepingProcess, true); [Test] - public Task TestWithProcessReturning259() => DoTest(() => GetTerminatedProcess(259), false); + public async Task TestWithProcessReturning259() + { + if (!RuntimeInfo.IsRunningUnderWindows) return; + await DoTest(() => GetTerminatedProcess(259), false); + } private static Task DoTest(Func processCreator, bool assertAlive) => Lifetime.UsingAsync(async lt => {