Fix test-tcp-wrap-listen
This commit is contained in:
parent
47a5d93256
commit
8cb5338f35
@ -38,7 +38,8 @@ server.onconnection = function(client) {
|
|||||||
client.pendingWrites.push(req);
|
client.pendingWrites.push(req);
|
||||||
|
|
||||||
console.log("client.writeQueueSize: " + client.writeQueueSize);
|
console.log("client.writeQueueSize: " + client.writeQueueSize);
|
||||||
assert.equal(length, client.writeQueueSize);
|
// 11 bytes should flush
|
||||||
|
assert.equal(0, client.writeQueueSize);
|
||||||
|
|
||||||
req.oncomplete = function(status, client_, req_, buffer_) {
|
req.oncomplete = function(status, client_, req_, buffer_) {
|
||||||
assert.equal(req, client.pendingWrites.shift());
|
assert.equal(req, client.pendingWrites.shift());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user