test: rename test-regress-GH-1697

Rename the test appropriately alongside mentioning the subsystem
Also, make a few basic changes to make sure the test conforms
to the standard test structure

Refs: https://github.com/nodejs/node/issues/19105
Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure

PR-URL: https://github.com/nodejs/node/pull/19161
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
Ujjwal Sharma authored and Myles Borins committed 2018-03-20 11:33:46 +00:00
1 parent fa43d2f69e
commit da44c2ccf0
1 file changed
+5
@@ -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');