summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-03-06 11:30:25 +0530
committerMyles Borins <mylesborins@google.com>2018-08-17 15:26:14 -0400
commit6417564b29327f5c47d3bddef6c70ef6e39a11f7 (patch)
treeb427a45bfa9431d0275c04ad085720e41b1f4e6a /test
parent20a4ec88a0fbea81ed935ded3e2ca89ecce44e2b (diff)
downloadnode-new-6417564b29327f5c47d3bddef6c70ef6e39a11f7.tar.gz
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>
Diffstat (limited to 'test')
-rw-r--r--test/sequential/test-regress-net-response_size.js (renamed from test/sequential/test-regress-GH-1697.js)5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sequential/test-regress-GH-1697.js b/test/sequential/test-regress-net-response_size.js
index 9d2555705a..e6be7fa727 100644
--- a/test/sequential/test-regress-GH-1697.js
+++ b/test/sequential/test-regress-net-response_size.js
@@ -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');