Skip to content

Commit

Permalink
test: fixed server test on Node 20 (#2889)
Browse files Browse the repository at this point in the history
* test: fixed test

* test: enabled test GH-1384
  • Loading branch information
Aleksey28 committed May 3, 2023
1 parent 6a5ab7e commit b10bd8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/server/proxy/regression-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ describe('Regression', () => {
]);
});

it.skip('Should close a proxy connection if a connection to destination server hang up (GH-1384)', () => {
it('Should close a proxy connection if a connection to destination server hang up (GH-1384)', () => {
const agent = new http.Agent({
keepAlive: true,
keepAliveMsecs: 10000,
Expand Down Expand Up @@ -1088,7 +1088,8 @@ describe('Regression', () => {
.then(body => {
expect(body).eql('');

reqOptions.path += 'redirect';
reqOptions.path += 'redirect';
reqOptions.pathname += 'redirect';

return sendRequest(reqOptions);
})
Expand Down

0 comments on commit b10bd8c

Please sign in to comment.