GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: rename regression tests with descriptive file names by ryzokuken · Pull Request #19161 · nodejs/node

test: rename regression tests with descriptive file names #19161

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.

Sign up for GitHub

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

Closed
ryzokuken wants to merge 8 commits into nodejs:master from ryzokuken:test/rename-regression

Uh oh!

There was an error while loading. Please reload this page.

Closed

test: rename regression tests with descriptive file names #19161

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8 commits
Select commit Hold shift + click to select a range
51e7956
test: rename test-regress-GH-1726
ryzokuken Mar 6, 2018
713a7d5
test: rename test-regress-GH-1697
ryzokuken Mar 6, 2018
e699b92
test: rename test-regress-GH-4015
ryzokuken Mar 6, 2018
7b91ada
test: rename test-regress-GH-4027
ryzokuken Mar 6, 2018
24016c4
test: rename tests to remove "regress" keyword
ryzokuken Mar 6, 2018
5b96920
test: address nits and rename the corresponding fixture
ryzokuken Mar 6, 2018
8532aaa
test: rename test-regress-GH-784.js
ryzokuken Mar 6, 2018
c3cc56b
test: rename test-regress-GH-877.js
ryzokuken Mar 6, 2018
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

0 test/fixtures/test-regress-GH-4015.js → test/fixtures/test-fs-stat-sync-overflow.js
Show comments
View file
Open in desktop
File renamed without changes.
7 changes: 4 additions & 3 deletions 7 test/sequential/test-regress-GH-1726.js → test/sequential/test-child-process-exit.js
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
require('../common');

// Open a chain of five Node processes each a child of the next. The final
// process exits immediately. Each process in the chain is instructed to
// exit when its child exits.
// process exits immediately. Each process in the chain is instructed to exit
// when its child exits.
// https://github.com/joyent/node/issues/1726

require('../common');
const assert = require('assert');
const ch = require('child_process');

Expand Down
10 changes: 9 additions & 1 deletion 10 test/sequential/test-regress-GH-4015.js → .../sequential/test-fs-stat-sync-overflow.js
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,19 @@
'use strict';
require('../common');
const { fixturesDir } = require('../common/fixtures');

// Check that the calls to Integer::New() and Date::New() succeed and bail out
// if they don't.
// V8 returns an empty handle on stack overflow. Trying to set the empty handle
// as a property on an object results in a NULL pointer dereference in release
// builds and an assert in debug builds.
// https://github.com/nodejs/node-v0.x-archive/issues/4015

const assert = require('assert');
const { exec } = require('child_process');

const cmd =
`"${process.execPath}" "${fixturesDir}/test-regress-GH-4015.js"`;
`"${process.execPath}" "${fixturesDir}/test-fs-stat-sync-overflow.js"`;

exec(cmd, function(err, stdout, stderr) {
assert(/RangeError: Maximum call stack size exceeded/.test(stderr));
Expand Down
11 changes: 11 additions & 0 deletions 11 test/sequential/test-regress-GH-4027.js → ...st-fs-watch-file-enoent-after-deletion.js
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@

'use strict';
const common = require('../common');

// Make sure the deletion event gets reported in the following scenario:
// 1. Watch a file.
// 2. The initial stat() goes okay.
// 3. Something deletes the watched file.
// 4. The second stat() fails with ENOENT.

// The second stat() translates into the first 'change' event but a logic error
// stopped it from getting emitted.
// https://github.com/nodejs/node-v0.x-archive/issues/4027

const assert = require('assert');
const path = require('path');
const fs = require('fs');
Expand Down
10 changes: 5 additions & 5 deletions 10 test/sequential/test-regress-GH-784.js → test/sequential/test-http-econnrefused.js
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
// Regression test for GH-784
// https://github.com/joyent/node/issues/784
//
const common = require('../common');

// The test works by making a total of 8 requests to the server. The first
// two are made with the server off - they should come back as ECONNREFUSED.
// The next two are made with server on - they should come back successful.
// The next two are made with the server off - and so on. Without the fix
// we were experiencing parse errors and instead of ECONNREFUSED.
const common = require('../common');
// we were experiencing parse errors instead of ECONNREFUSED.
// https://github.com/nodejs/node-v0.x-archive/issues/784

const http = require('http');
const assert = require('assert');

Expand Down
4 changes: 4 additions & 0 deletions 4 test/sequential/test-regress-GH-877.js → test/sequential/test-http-max-sockets.js
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

'use strict';
const common = require('../common');

// Make sure http server doesn't wait for socket pool to establish connections
// https://github.com/nodejs/node-v0.x-archive/issues/877

const http = require('http');
const assert = require('assert');

Expand Down
5 changes: 5 additions & 0 deletions 5 test/sequential/test-regress-GH-1697.js → test/sequential/test-net-response-size.js
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@

'use strict';
const common = require('../common');

// Make sure the net module's server doesn't throw an error when handling
// responses that are either too long or too small (especially on Windows)
// https://github.com/nodejs/node-v0.x-archive/issues/1697

const net = require('net');
const cp = require('child_process');

Expand Down
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.