We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 272e9a5 commit 860928eCopy full SHA for 860928e
test/integration/client/network-partition-tests.js
@@ -22,7 +22,7 @@ Server.prototype.start = function (cb) {
22
this.socket.on('data', function (data) {
23
// deny request for SSL
24
if (data.length == 8) {
25
- this.socket.write(new Buffer('N', 'utf8'))
+ this.socket.write(Buffer.from('N', 'utf8'))
26
// consider all authentication requests as good
27
} else if (!data[0]) {
28
this.socket.write(buffers.authenticationOk())
0 commit comments