-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: flaky http/file_server.ts
tests
#3717
Conversation
serveDirIndex TLS
testhttp/file_server.ts
tests
const res = await fetch("https://localhost:4577/", { client }); | ||
client.close(); | ||
|
||
assertStringIncludes(await res.text(), "<title>Deno File Server</title>"); | ||
} finally { | ||
await killFileServer(); | ||
} | ||
}, | ||
); | ||
|
||
Deno.test("partial TLS arguments fail", async function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to change this test case because according to this run log https://github.com/denoland/deno_std/actions/runs/6625309968/job/17996042005?pr=3715 this test case was affected by the one above (i.e. the flakiness wasn't caused by this test case itself)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand. However, passing by, I realised the test could rely on more reliable APIs. Hence, the change.
flakiness happened in other places, but this one looks fine to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #3716