Skip to content

Commit 1194316

Browse files
authored
Fix method name, kill by default sends TERM not INT
1 parent 3c695d2 commit 1194316

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Hosting/test/FunctionalTests/ShutdownTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private async Task ExecuteShutdownTest(string testName, string shutdownMechanic)
9797
throw new InvalidOperationException("Timeout while waiting for host process to output started message.", ex);
9898
}
9999

100-
SendSIGINT(deployer.HostProcess.Id);
100+
SendSIGTERM(deployer.HostProcess.Id);
101101

102102
WaitForExitOrKill(deployer.HostProcess, 143); // Expected exit code of a process terminated by `kill -s TERM`
103103

@@ -117,7 +117,7 @@ private async Task ExecuteShutdownTest(string testName, string shutdownMechanic)
117117
}
118118
}
119119

120-
private static void SendSIGINT(int processId)
120+
private static void SendSIGTERM(int processId)
121121
{
122122
var startInfo = new ProcessStartInfo
123123
{

0 commit comments

Comments
 (0)