~yolanda.robla/ubuntu/trusty/nodejs/add_distribution

« back to all changes in this revision

Viewing changes to test/simple/test-net-write-slow.js

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-08-14 00:16:46 UTC
  • mfrom: (7.1.40 sid)
  • Revision ID: package-import@ubuntu.com-20130814001646-bzlysfh8sd6mukbo
Tags: 0.10.15~dfsg1-4
* Update 2005 patch, adding a handful of tests that can fail on
  slow platforms.
* Add 1004 patch to fix test failures when writing NaN to buffer
  on mipsel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
var server = net.createServer(function(socket) {
34
34
  socket.setNoDelay();
35
 
  socket.setTimeout(200);
 
35
  socket.setTimeout(1000);
36
36
  socket.on('timeout', function() {
37
37
    assert.fail('flushed: ' + flushed +
38
38
                ', received: ' + received + '/' + SIZE * N);