We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7c6c5a commit fbcfb11Copy full SHA for fbcfb11
Sources/CartonCLI/Commands/TestRunners/BrowserTestRunner.swift
@@ -89,7 +89,11 @@ struct BrowserTestRunner: TestRunner {
89
arguments: ["--port=\(address.port!)"]
90
)
91
terminal.logLookup("Launch WebDriver executable: ", executablePath)
92
- let disposer = { process.interrupt() }
+ let disposer = {
93
+ // Seems like chromedriver doesn't respond to SIGTERM and SIGINT
94
+ kill(process.processIdentifier, SIGKILL)
95
+ process.waitUntilExit()
96
+ }
97
return (URL(string: "http://\(address.ipAddress!):\(address.port!)")!, disposer)
98
}
99
0 commit comments