fix: 💚 increase testing timeout to allow for fkill

This commit is contained in:
Nate Sesti 2023-08-09 21:14:13 -07:00
parent 8d198663e1
commit 08b1cfdd2f

View file

@ -8,9 +8,9 @@ import fkill from "fkill";
describe("Can start python server", () => {
test("Can start python server in under 10 seconds", async function () {
fkill(65432, { force: true, silent: true });
const allowedTime = 15_000;
this.timeout(allowedTime + 1000);
this.timeout(allowedTime + 10_000);
fkill(65432, { force: true, silent: true });
// If successful, the server is started by the extension while we wait
await new Promise((resolve) => setTimeout(resolve, allowedTime));