diff --git a/src/AzureEventGridSimulator.AppHost/AzureEventGridSimulator.AppHost.csproj b/src/AzureEventGridSimulator.AppHost/AzureEventGridSimulator.AppHost.csproj index 16d3fac..1d6f7a8 100644 --- a/src/AzureEventGridSimulator.AppHost/AzureEventGridSimulator.AppHost.csproj +++ b/src/AzureEventGridSimulator.AppHost/AzureEventGridSimulator.AppHost.csproj @@ -1,5 +1,5 @@ - + Exe @@ -17,6 +17,8 @@ + + diff --git a/src/AzureEventGridSimulator.Tests/ActualSimulatorTests/SimulatorExitCodeTests.cs b/src/AzureEventGridSimulator.Tests/ActualSimulatorTests/SimulatorExitCodeTests.cs index 86bc7d4..5d176b5 100644 --- a/src/AzureEventGridSimulator.Tests/ActualSimulatorTests/SimulatorExitCodeTests.cs +++ b/src/AzureEventGridSimulator.Tests/ActualSimulatorTests/SimulatorExitCodeTests.cs @@ -113,12 +113,13 @@ public async Task GivenNoTopics_WhenStarted_ThenShowsHelpAndExitsWithSuccessCode { await process.WaitForExitAsync(timeout.Token); } - catch (OperationCanceledException) + catch (OperationCanceledException ex) { process.Kill(true); await process.WaitForExitAsync(); throw new TimeoutException( - $"The simulator did not exit within {ExitTimeout.TotalSeconds}s.{Environment.NewLine}{await standardOutput}{await standardError}" + $"The simulator did not exit within {ExitTimeout.TotalSeconds}s.{Environment.NewLine}{await standardOutput}{await standardError}", + ex ); } diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index d957064..2111c42 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -12,32 +12,32 @@ - + - - - - + + + + - - - - - + + + + + - + - + - +