GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Restify test fails on Node 4 · Issue #916 · restify/node-restify

Restify test fails on Node 4 #916

New issue
Copy link
New issue
Copy link
Closed
Closed
Restify test fails on Node 4#916
Copy link
Assignees
micahr

Description

@micahr
micahr
opened on Sep 18, 2015
Issue body actions

https://travis-ci.org/restify/node-restify/jobs/79522234

✖ GH-149 limit request body size
AssertionError: 500 == 413
    at Object.equal (/home/travis/build/restify/node-restify/node_modules/nodeunit/lib/types.js:83:39)
    at ClientRequest.<anonymous> (/home/travis/build/restify/node-restify/test/server.test.js:804:11)
    at ClientRequest.g (events.js:260:16)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at HTTPParser.parserOnIncomingClient (_http_client.js:415:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
    at Socket.socketOnData (_http_client.js:305:20)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)

✖ GH-149 limit request body size (json)
AssertionError: 500 == 413
    at Object.equal (/home/travis/build/restify/node-restify/node_modules/nodeunit/lib/types.js:83:39)
    at ClientRequest.<anonymous> (/home/travis/build/restify/node-restify/test/server.test.js:834:11)
    at ClientRequest.g (events.js:260:16)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at HTTPParser.parserOnIncomingClient (_http_client.js:415:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
    at Socket.socketOnData (_http_client.js:305:20)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)

Activity

  1. micahr
    self-assigned this
    on Sep 18, 2015
  2. micahr commented on Sep 18, 2015

    @micahr
    micahr
    on Sep 18, 2015
    ContributorAuthor
    More actions

    It looks like Node changed the Http Status codes in 4: nodejs/node@2d9456e#diff-feaf3339998a19f0baf3f82414762c22R53

    Specifically related to these tests, there is no longer a RequestEntityTooLargeError, instead it is PayloadTooLarge now.

  3. micahr commented on Sep 18, 2015

    @micahr
    micahr
    on Sep 18, 2015
    ContributorAuthor
    More actions

    Here is the PR on the Node side: nodejs/node#1470

  4. fszakka commented on Sep 18, 2015

    @fszakka
    fszakka
    on Sep 18, 2015
    More actions

    just used restify with node 4 and retrieved from mssql over 4000 records no problem.

  5. micahr commented on Sep 18, 2015

    @micahr
    micahr
    on Sep 18, 2015
    ContributorAuthor
    More actions

    The problem I'm addressing is that our test suite fails on Node 4.

  6. micahr
    added a commit that references this issue on Sep 18, 2015

    Merge pull request #917 from restify/fix-node-4-tests

    This issue will close once commit c803dbb is merged into the 'master' branch.
    c803dbb
  7. micahr commented on Sep 18, 2015

    @micahr
    micahr
    on Sep 18, 2015
    ContributorAuthor
    More actions

    Fixed by #917

  8. micahr
    closed this as completedon Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @micahr
    micahr

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.