Added execution context error

This will make a failed health check more visible in the UI without disrupting the execution of the program.
This commit is contained in:
AStancu
2022-09-07 00:10:18 +02:00
committed by Ava S
parent 94e504c40e
commit cfcf0831f3
2 changed files with 3 additions and 2 deletions
@@ -64,7 +64,7 @@ namespace GitHub.Runner.Common.Tests.Worker
//Assert
_ec.Verify(dm => dm.Write(It.IsAny<string>(), It.IsAny<string>()), Times.Exactly(2));
_ec.Verify(dm => dm.Write(null, $"##[group] Container {containerInfo.ContainerImage} failed healthchecks, printing logs:"), Times.AtLeastOnce());
_ec.Verify(dm => dm.Write(null, $"##[group]Container {containerInfo.ContainerImage} failed healthchecks, printing logs:"), Times.AtLeastOnce());
_ec.Verify(dm => dm.Write(null, "##[endgroup]"), Times.AtLeastOnce());
}