ci: 💚 don't kill existing server in test

This commit is contained in:
Nate Sesti 2023-08-14 12:19:29 -07:00
parent dec135ed1e
commit 30befdb263

View file

@ -10,12 +10,12 @@ describe("Can start python server", () => {
test("Can start python server in under 35 seconds", async function () {
const allowedTime = 35_000;
this.timeout(allowedTime + 10_000);
try {
fkill(65432, { force: true, silent: true });
console.log("Killed existing server");
} catch (e) {
console.log("No existing server: ", e);
}
// try {
// fkill(65432, { force: true });
// console.log("Killed existing server");
// } catch (e) {
// console.log("No existing server: ", e);
// }
// If successful, the server is started by the extension while we wait
await new Promise((resolve) => setTimeout(resolve, allowedTime));