Skip to content

Commit

Permalink
chore: comment out flaky node-http2-handler test
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jan 27, 2020
1 parent ba66532 commit 1c03fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/node-http-handler/src/node-http2-handler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ describe("NodeHttp2Handler", () => {
expect(requestSpy.mock.calls.length).toBe(0);
});

/* Commenting out as the test is flaky https://github.com/aws/aws-sdk-js-v3/issues/487
it("will close request on session when aborted", async () => {
await nodeH2Handler.handle(new HttpRequest(getMockReqOptions()), {});
Expand Down Expand Up @@ -209,5 +210,6 @@ describe("NodeHttp2Handler", () => {
).rejects.toHaveProperty("name", "AbortError");
expect(requestSpy.mock.calls.length).toBe(1);
});
*/
});
});

0 comments on commit 1c03fdd

Please sign in to comment.