Skip to content

Commit

Permalink
[DEBUG] Break tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Dec 2, 2023
1 parent b447060 commit 2b559d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rd-net/Test.Lifetimes/Diagnostics/ProcessWatchdogTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private static Task DoTest(Func<Process> processCreator, bool assertAlive) => Li
}

var exs = Assert.Throws<AggregateException>(TestLogger.ExceptionLogger.ThrowLoggedExceptions).InnerExceptions;
Assert.IsTrue(
Assert.IsFalse(
exs.All(e => e.Message.Contains($"Parent process PID:{process.Id} has quit, killing ourselves via Process.Kill")),
$"No expected data in some of the exceptions: {string.Join("\n", exs.Select(e => e.Message))}");
});
Expand Down

0 comments on commit 2b559d8

Please sign in to comment.