Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v6.x backport] test: simplify test skipping #14838

Closed
wants to merge 82 commits into from
Closed

[v6.x backport] test: simplify test skipping #14838

wants to merge 82 commits into from

Commits on Aug 14, 2017

  1. test: add common.noop, default for common.mustCall()

    Export a new common.noop no-operation function for general use.
    Allow using common.mustCall() without a fn argument to simplify
    test cases.
    
    Replace various non-op functions throughout tests with common.noop
    
    PR-URL: #12027
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    jasnell authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    3edd272 View commit details
    Browse the repository at this point in the history
  2. tools: add rule prefering common.mustNotCall()

    Prefer using `common.mustNotCall()` over `common.mustCall(fn, 0)`
    
    PR-URL: #12027
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    jasnell authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    2d96b01 View commit details
    Browse the repository at this point in the history
  3. test: add mustCallAtLeast

    PR-URL: #12935
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    ce86b8e View commit details
    Browse the repository at this point in the history
  4. test: harden test-dgram-bind-shared-ports

    * add `mustCall` and `mustNotCall` to all callbacks
    * added `known_issue` for port binding
    
    Backport-PR-URL: #14327
    PR-URL: #13100
    Refs: #13055
    Refs: #12999
    Refs: #13526
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    refack authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    189dc42 View commit details
    Browse the repository at this point in the history
  5. dns: fix resolve failed starts without network

    Fix the bug that you start process without network at first, but it
    connected lately, `dns.resolve` will stay failed with ECONNREFUSED
    because c-ares servers fallback to 127.0.0.1 at the very beginning.
    
    If c-ares servers "127.0.0.1" is detected and its not set by user self,
    and last query is not OK, recreating `ares_channel` operation will be
    triggered to reload servers.
    
    Fixes: #1644
    Backport-PR-URL: #14434
    PR-URL: #13076
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    XadillaX authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    a28f7a2 View commit details
    Browse the repository at this point in the history
  6. src: supply missing comments for CLI options

    A few of the CLI option values exposed as properties on the process
    object were missing a comment, fix this.
    
    Backport-PR-URL: #14483
    PR-URL: #12245
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    cb3b866 View commit details
    Browse the repository at this point in the history
  7. src: use option parser for expose_internals

    bootstrap_node.js was directly parsing process.execArgv to see if
    internals should be exposed, even though the argv was already parsed by
    node. This is unusual and unnecessary, change it to set the option value
    from the parser onto the config binding.
    
    Backport-PR-URL: #14483
    PR-URL: #12245
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    1576c09 View commit details
    Browse the repository at this point in the history
  8. test: mark test-fs-read-buffer-to-string-fail as flaky

    PR-URL: #14495
    Fixes: #14430
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Jeyanthinath authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    ee98df8 View commit details
    Browse the repository at this point in the history
  9. test: increase coverage for path.parse

    Backport-PR-URL: #14787
    PR-URL: #14438
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    tniessen authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    3f2b8a9 View commit details
    Browse the repository at this point in the history
  10. path: fix win32 volume-relative paths

    `path.resolve()` and `path.join()` are left alone in this commit due to
    the lack of clear semantics.
    
    Backport-PR-URL: #14787
    PR-URL: #14440
    Fixes: #14405
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    TimothyGu authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    ba411f1 View commit details
    Browse the repository at this point in the history
  11. path: remove unnecessary string copies

    As the length of `path` is known at this point, there is no point in
    making an exact copy using `slice`.
    
    Backport-PR-URL: #14787
    PR-URL: #14438
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    tniessen authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    d75363b View commit details
    Browse the repository at this point in the history
  12. tools: add missing #include "unicode/putil.h"

    * we use u_setDataDirectory() in "unicode/putil.h"
    * at present, this header is indirectly included,
      but this will change in ICU 59
    * no impact on past ICUs.
    * this is an exact analog to #11753
    
    PR-URL: #12078
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    srl295 authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    cbd2c77 View commit details
    Browse the repository at this point in the history
  13. timers: do not use user object call/apply

    Timers should work even if the user has monkey-patched `.call()` and
    `.apply()` to undesirable values.
    
    PR-URL: #12960
    Ref: #12956
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    0f36025 View commit details
    Browse the repository at this point in the history
  14. deps: cherry-pick f5fad6d from upstream v8

    Original commit message:
    
        This commit adds a getter for the private is_verbose_ member.
        The use case for this comes from Node.js where the ability to avoid
        calling FatalException if the TryCatch is verbose would be nice
        to have.
    
        BUG=
    
        Review-Url: https://codereview.chromium.org/2840803002
        Cr-Commit-Position: refs/heads/master@{#45018}
    
    PR-URL: #12826
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    c7622e1 View commit details
    Browse the repository at this point in the history
  15. src: only call FatalException if not verbose

    This commit attempts to address the TODO regarding not calling
    FatalException if the try_catch is verbose.
    
    PR-URL: #12826
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    2914926 View commit details
    Browse the repository at this point in the history
  16. build: reduce one level of spawning in node_gyp

    `configure` will now call `node_gyp` as a module instead of forking
    makes it easier to debug
    
    PR-URL: #12653
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    refack authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    9dde328 View commit details
    Browse the repository at this point in the history
  17. test: check number of message events

    When a no-op message event handler is used in a test, make it clear what
    is expected by using `common.mustCall()` and `common.mustNotCall()`.
    
    PR-URL: #13125
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <mhdawson@ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    4072073 View commit details
    Browse the repository at this point in the history
  18. test: confirm callback is invoked in fs test

    Use common.mustCall() in test-fs-makeStatsCallback to confirm that the
    callback is invoked.
    
    PR-URL: #13132
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <mhdawson@ibm.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    548aba4 View commit details
    Browse the repository at this point in the history
  19. test: check noop function invocations

    In test/pummel/test-stream2-basic.js, check that noop functions are
    called the expected number of times.
    
    PR-URL: #13146
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    4442a1f View commit details
    Browse the repository at this point in the history
  20. test: simplify assert usage in test-stream2-basic

    PR-URL: #13146
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    85a8d6e View commit details
    Browse the repository at this point in the history
  21. test: move stream2 test from pummel to parallel

    test-stream2-basic runs in a few seconds. It can be moved to parallel.
    
    PR-URL: #13146
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    10ad128 View commit details
    Browse the repository at this point in the history
  22. build: support dtrace on ARM

    Use the same dtrace command on ARM as on i386. Patch obtained from
    FreeBSD PR 218081 [1].
    
    1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218081
    
    PR-URL: #12193
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bradleythughes authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    8fd7fcc View commit details
    Browse the repository at this point in the history
  23. test: replace indexOf with includes

    PR-URL: #13215
    Refs: #12586
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    thelostone-mc authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    6ca963a View commit details
    Browse the repository at this point in the history
  24. test: use mustNotCall() in test-stream2-objects

    Use `common.mustNotCall()` in test-stream2-objects.js to confirm that
    noop function is never invoked.
    
    PR-URL: #13249
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    b997b8f View commit details
    Browse the repository at this point in the history
  25. test: use mustCall() in test-readline-interface

    Use `common.mustCall()` to make sure noop function is called as
    expected.
    
    PR-URL: #13259
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    7919eee View commit details
    Browse the repository at this point in the history
  26. test: refactor test-net-server-bind

    * Use common.mustNotCall() and common.mustCall() as appropriate
    * Use block scoping
    * Move assertions out of `exit` handler and into callbacks
    * Order assert.strictEqual() args per docs
    * Remove console.log() calls
    * Move test from `parallel` to `sequential` so `common.PORT` can be used
      without conflicting with OS-provided ports in other `parallel` tests
    
    PR-URL: #13273
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    089bd3b View commit details
    Browse the repository at this point in the history
  27. test: add documentation for common.mustNotCall()

    PR-URL: #13359
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    30201e5 View commit details
    Browse the repository at this point in the history
  28. test: refactor test-dgram-oob-buffer

    * Change common.noop to common.mustNotCall() to verify callback is not
      invoked.
    * Add destructuring assignment for clarity. Yeah, clarity. That's why.
    
    PR-URL: #13443
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    7c2befc View commit details
    Browse the repository at this point in the history
  29. test: check callback not invoked on lookup error

    Use `common.mustNotCall()` to confirm that callback is not invoked when
    `dns.lookup()` throws.
    
    PR-URL: #13456
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    c15393c View commit details
    Browse the repository at this point in the history
  30. test: refactor domain tests

    * Check that noop callback is or isn't invoked as appropriate using
      common.mustCall() and common.mustNotCall()
    * Fix typo in array literal
    
    PR-URL: #13480
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    1a95a51 View commit details
    Browse the repository at this point in the history
  31. test: refactor test-fs-read-*

    * Use `common.mustNotCall()` in place of `common.noop` where appropriate
    * Increase specificity of regular expressions (that is, make them match
      the whole error string rather than part of the error string) in
      `assert.throws()` calls
    
    PR-URL: #13501
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    8033cf3 View commit details
    Browse the repository at this point in the history
  32. src: merge fn_name in NODE_SET_PROTOTYPE_METHOD

    Merge two duplicate `fn_name` into one in NODE_SET_PROTOTYPE_METHOD,
    it may improve a bit performance.
    
    PR-URL: #13547
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    XadillaX authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    bfea6b2 View commit details
    Browse the repository at this point in the history
  33. test: use mustNotCall in test-http-eof-on-connect

    Confirm that callback is not being invoked in
    test-http-eof-on-connect.js.
    
    PR-URL: #13587
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    245f6b0 View commit details
    Browse the repository at this point in the history
  34. test: add mustCall() to child-process test

    Add common.mustCall() check to test-child-process-stdio-big-write-end.
    
    PR-URL: #13605
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    6f44563 View commit details
    Browse the repository at this point in the history
  35. test: use mustNotCall() in test-fs-watch

    Use common.mustNotCall() in test/sequential/test-fs-watch.js in
    situations where the call to watch() is expected to throw.
    
    PR-URL: #13595
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    2f8aa88 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2017

  1. test: make test-http(s)-set-timeout-server alike

    Make test-http(s)-set-timeout-server tests more similar and resolve the
    following issues:
    
    * `test-http-set-timeout-server.js` had a `secReceived` check in
      `serverResponseTimeoutWithPipeline()` that was added to prevent
      flakiness, but this did not exist in the https counterpart.
    
    * `test-https-set-timeout-server.js` utilized `common.mustCall()`,
      `common.mustNotCall()`, etc., while the http counterpart utilized the
      old method of checking flags on exit of the process.
    
    Refs: #13588
    PR-URL: #13625
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    jklepatch authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    9a9d493 View commit details
    Browse the repository at this point in the history
  2. test: refactor test-http-set-timeout-server

    * Use `common.mustCall()` to track callback invocations
    * Remove console.log() statements unrelated to the test
    * Add blank line to conform with test-writing guide
    
    PR-URL: #13802
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    8fd5297 View commit details
    Browse the repository at this point in the history
  3. test: remove needless RegExp flags

    * /m is needless if ^ and $ are not used
    * /g is needless in split()
    * /g is needless in test() with one-time RegExp/String
    
    PR-URL: #13690
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    9fd05e4 View commit details
    Browse the repository at this point in the history
  4. test: use string instead of RegExp in split()

    PR-URL: #13710
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    ade84b4 View commit details
    Browse the repository at this point in the history
  5. doc: add missing zlib link to stream API docs

    This seems to have been removed inadvertently by
    330c8d7 in PR 12925.
    
    PR-URL: #13838
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Rob--W authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    ed2a8d1 View commit details
    Browse the repository at this point in the history
  6. test: remove unnecessary Buffer import

    Removed require('buffer') from
    
    - test/disabled/test-sendfd.js
    - test/internet/test-dgram-broadcast-multi-process.js
    - test/pummel/test-https-no-reader.js
    
    PR-URL: #13860
    Refs: #13836
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    swinston1000 authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    1132754 View commit details
    Browse the repository at this point in the history
  7. test: remove require('buffer') on 6 fs test files

    * test/parallel/test-fs-mkdtemp.js
    * test/parallel/test-fs-read-zero-length.js
    * test/parallel/test-fs-read.js
    * test/parallel/test-fs-whatwg-url.js
    * test/parallel/test-fs-write-string-coerce.js
    * test/parallel/test-fs-write.js
    
    PR-URL: #13845
    Refs: #13836
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    sallen450 authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    0925c8e View commit details
    Browse the repository at this point in the history
  8. test: remove require('buffer') from 4 buffer tests

    Remove superfluous import from:
    
    * test/parallel/test-buffer-alloc.js
    * test/parallel/test-buffer-arraybuffer.js
    * test/parallel/test-buffer-badhex.js
    * test/parallel/test-buffer-bytelength.js
    
    Refs: #13836
    PR-URL: #13855
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    OriLev authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    4449faa View commit details
    Browse the repository at this point in the history
  9. test: remove require('buffer') from 4 test files

    Remove superfluous import from:
    
    * test/parallel/test-buffer-fakes.js
    * test/parallel/test-buffer-includes.js
    * test/parallel/test-buffer-indexof.js
    * test/parallel/test-buffer-new.js
    
    Refs: #13836
    PR-URL: #13846
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    leizongmin authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    2cb4243 View commit details
    Browse the repository at this point in the history
  10. test: remove unnecessary require('buffer').Buffer

    Remove unnecessary imports from:
    
    * test/parallel/test-buffer-nopendingdep-map.js
    * test/parallel/test-buffer-pending-deprecation.js
    * test/parallel/test-buffer-sharedarraybuffer.js
    * test/parallel/test-buffer-slow.js
    * test/parallel/test-buffer-tojson.js
    * test/parallel/test-buffer-zero-fill.js
    
    Refs: #13836
    PR-URL: #13851
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lenakaplan authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    846c10c View commit details
    Browse the repository at this point in the history
  11. test: remove require('buffer') from 4 test files

    We don't use the global Buffer throughout the lib/ to avoid circular
    dependency issues in core, but we actually don't need to require it on
    test files. So remove them on:
    
    + test/parallel/test-stream-uint8array.js
    + test/parallel/test-stream2-finish-pipe.js
    + test/parallel/test-tls-session-cache.js
    + test/parallel/test-vm-cached-data.js
    
    Refs: #13836
    PR-URL: #13844
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    XadillaX authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    ea2a7f8 View commit details
    Browse the repository at this point in the history
  12. build: clean up config_fips.gypi

    Currently when configuring the project using --openssl-fips a gyp
    include file name config_fips.gypi will be created. If the project is
    later configured but without the --openssl-fips flag an error will
    occur. For example:
    
      $ ./configure --openssl-fips=bogus
      $ ./configure && make -j8
      ...
      /node/deps/openssl/fips/fipsld:
      line 8: /bin/fipsld: No such file or directory
      Error 127
    
    This commit suggests removing the generate config_fips.gypi when the
    --openssl-fips flag is not give on the command line.
    
    PR-URL: #13837
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    3ebe458 View commit details
    Browse the repository at this point in the history
  13. test: make http(s)-set-timeout-server more similar

    Make test-http(s)-set-timeout-server tests more similar and resolve the
    following issues:
    
    * `test-https-set-timeout-server.js` was missing some `assert`
       statements, including with `http` module
    
    * Both files were missing some calls to `common.mustCall()`
    
    * Both files were calling `createServer()` in different ways
    
    PR-URL: #13822
    Refs: #13588
    Refs: #13625
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jklepatch authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    73ba423 View commit details
    Browse the repository at this point in the history
  14. test: refactor test-tls-env-extra-ca

    * Use `common.mustCall()` to guarantee callback invocations
    * Order modules according to test writing guide
    
    PR-URL: #13886
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    16998a1 View commit details
    Browse the repository at this point in the history
  15. test: refactor test-tls-invoked-queued

    * use common.mustCall()/common.mustNotCall() as appropriate
    * reorder require() statements per test writing guide
    * add comment
    
    PR-URL: #13893
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    772927e View commit details
    Browse the repository at this point in the history
  16. test: skip fips tests using OpenSSL config file

    The motivation for this commit is that we are building Node with
    --shared-openssl and in our case the system OpenSSL version
    supports FIPS.
    
    The tests in test-crypto-fips that toggle fips mode on/off using the
    config file option might succeed and return 1 instead of an error
    being thrown from OpenSSL (which is what happens for a default build
    but the error is not processed/displayed in any way at the moment):
    openssl config failed: error:060B10A7:digital envelope
    routines:ALG_MODULE_INIT:fips mode not supported
    
    Note that this only concerns the test that use the configuration file
    option which is different from when calling the fips setter as
    the handling of the configuration file is handled by OpenSSL, so it
    is not possible for us to try to call the fips setter as that would
    throw an error ("Error: Cannot set FIPS mode in a non-FIPS build.").
    
    The suggestion is to skips these tests when --shared-openssl is used.
    
    PR-URL: #13786
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    7a2de19 View commit details
    Browse the repository at this point in the history
  17. doc: fixed formatting issue in cli docs

    Removed some bad escape characters
    
    PR-URL: #13808
    Fixes: #13805
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Chris Young authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    1a50b56 View commit details
    Browse the repository at this point in the history
  18. test: remove unneeded HandleScope usage

    These methods are Javascript-accessible so they get an implicit
    HandleScope. The extra scope is unneeded and can be dropped.
    
    PR-URL: #13859
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
    ezequielgarcia authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    059e9ad View commit details
    Browse the repository at this point in the history
  19. doc: fix mistake in path.relative

    The docs implied that the parameters `from` and `to` are invalid only
    if neither of them is a string; in fact, they are invalid as soon as one
    of them is not a string.
    
    PR-URL: #13912
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    tniessen authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    4cfc47e View commit details
    Browse the repository at this point in the history
  20. doc: add gireeshpunathil to collaborators

    PR-URL: #13967
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    gireeshpunathil authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    17230b0 View commit details
    Browse the repository at this point in the history
  21. doc: add @nodejs/documentation to CC table

    PR-URL: #13952
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    92850c3 View commit details
    Browse the repository at this point in the history
  22. tools: remove comment in eslint rule

    I noticed this comment while working on a different task and could not
    find any reason for it being there. Just bringing this up in case it was
    overlooked.
    
    PR-URL: #13945
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    0cb7bab View commit details
    Browse the repository at this point in the history
  23. test: refactor test-cluster-basic

    * Use common.mustNotCall() to check that callback is not invoked.
    * Add space per test writing guide.
    
    PR-URL: #13905
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    5865268 View commit details
    Browse the repository at this point in the history
  24. doc: note that fs.futimes only works on AIX >7.1

    PR-URL: #13659
    Fixes: #12609
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
    gibfahn authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    a8901e5 View commit details
    Browse the repository at this point in the history
  25. src: add missing new line to printed message

    PR-URL: #13940
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    TimothyGu authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    42b825b View commit details
    Browse the repository at this point in the history
  26. test: refactor test-child-process-send-type-error

    * Add exit listener to child process to check return code. Previously,
      child process faiilure would not cause the test to fail.
    * Use common.mustNotCall() to guarantee callback is not invoked.
    * Insert blank line per test writing guide.
    
    PR-URL: #13904
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    97ad485 View commit details
    Browse the repository at this point in the history
  27. src: move crypto_bio/clienthello to crypto ns

    Currently, node_crypto_bio and node_crypto_clienthello are not in the
    crypto namespace but simply in the node namespace. Not sure if this was
    intentional or not, but I think it would make sense to move them to be
    consistent.
    
    PR-URL: #13957
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    375c274 View commit details
    Browse the repository at this point in the history
  28. lib: fix typos

    Original-PR-URL: #13741
    Original-Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Original-Reviewed-By: Roman Reiss <me@silverwind.io>
    Original-Reviewed-By: James M Snell <jasnell@gmail.com>
    Original-Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Original-Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    
    PR-URL: #14044
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    BridgeAR authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    600d009 View commit details
    Browse the repository at this point in the history
  29. test: refactor test-fs-watchfile

    * use `common.mustNotCall()` to confirm callback is not called
    * reorder modules to conform with test-writing guide
    * match full error message in `assert.throws()`
    
    PR-URL: #13721
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    e0119c5 View commit details
    Browse the repository at this point in the history
  30. child_process: fix handleless NODE_HANDLE handling

    It is possible that `recvmsg()` may return an error on ancillary data
    reception when receiving a `NODE_HANDLE` message (for example
    `MSG_CTRUNC`). This would end up, if the handle type was `net.Socket`,
    on a `message` event with a non null but invalid `sendHandle`. To
    improve the situation, send a `NODE_HANDLE_NACK` that'll cause the
    sending process to retransmit the message again. In case the same
    message is retransmitted 3 times without success, close the handle and
    print a warning.
    
    Fixes: #9706
    PR-URL: #13235
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    santigimeno authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    47e38ac View commit details
    Browse the repository at this point in the history
  31. test: remove undef NDEBUG from at-exit addons test

    The at-exit addons test uses asserts like the other addons tests,
    but at-exit is the only one that undefines NDEBUG to make sure
    that asserts are enabled. This commit removes the undef for
    consistency.
    
    PR-URL: #13998
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    ebb4b81 View commit details
    Browse the repository at this point in the history
  32. test: replace indexOf with includes and startsWith

    PR-URL: #13852
    Refs: #12586
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Nataly Shrits authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    2a2db02 View commit details
    Browse the repository at this point in the history
  33. doc: fix example in child_process.md

    PR-URL: #13716
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    rus0000 authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    7a0aedb View commit details
    Browse the repository at this point in the history
  34. test: refactor test-http-invalidheaderfield

    * use common.mustNotCall() to confirm callback is not invoked
    * whitespace change per test-writing guide
    
    PR-URL: #13996
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    30e9df7 View commit details
    Browse the repository at this point in the history
  35. doc: add CTC members to Collaborators list

    For simplicity and clarity (if not brevity), add CTC and CTC Emeriti to
    Collaborators list in README. This will avoid confusion about who is and
    isn't a Collaborator.
    
    PR-URL: #13284
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    5d23670 View commit details
    Browse the repository at this point in the history
  36. test: refactor test-http(s)-set-timeout-server

    * Make changes to `test-https-set-timeout-server` to resolve
      inconsistencies with its http counterpart:
    
      - Apply the changes analogous to those in GH-13802 to the https test.
      - Add a missing `common.mustCall()` wrapper.
      - Make small stylistic changes (e.g., remove unnecessary line breaks
        in comments) to make it visually consistent with the http test.
    
    * Use arrow functions.
    
    PR-URL: #13935
    Fixes: #13588
    Refs: #13802
    Refs: #13625
    Refs: #13822
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aqrln authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    6b3f8da View commit details
    Browse the repository at this point in the history
  37. test,fs: delay unlink in test-regress-GH-4027.js

    The sequential/test-regress-GH-4027 test is flaky with an increased
    system load, failing when the watched file is unlinked before the
    first state of the watched file is retrieved.
    
    After increasing the delay before unlinking and calling setTimeout
    after watchFile, the flakiness stopped reproducing.
    
    PR-URL: #14010
    Fixes: #13800
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    jaimecbernardo authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    f9a472f View commit details
    Browse the repository at this point in the history
  38. test: fix require nits in some test-tls-* tests

    * Do not require if test is skipped.
    * Do not re-require without need.
    * Sort requiring by module names.
    
    PR-URL: #14008
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    53f5e52 View commit details
    Browse the repository at this point in the history
  39. doc, util, console: clarify ambiguous docs

    Add clarification to the documentation on util.format()
    and console.log() regarding how excessive arguments are treated
    when the first argument is a non-format string
    compared to when it is not a string at all.
    
    PR-URL: #14027
    Fixes: #13908
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    nattelog authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    ce28385 View commit details
    Browse the repository at this point in the history
  40. tools: use no-use-before-define ESLint rule

    Also fix repl and url libs for the rule.
    
    PR-URL: #14032
    Refs: http://eslint.org/docs/rules/no-use-before-define
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    13d0450 View commit details
    Browse the repository at this point in the history
  41. test: fix flaky test-https-set-timeout-server

    Because of a race condition, connection listener may not be invoked if
    test is run under load. Remove `common.mustCall()` wrapper from the
    listener. Move the test to `parallel` because it now works under load.
    Make similar change to http test to keep them in synch even though it is
    much harder to trigger the race in http.
    
    PR-URL: #14134
    Fixes: #14133
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    57cc027 View commit details
    Browse the repository at this point in the history
  42. test: fix flaky http(s)-set-server-timeout tests

    The tests include a callback that might not be invoked but is wrapped in
    common.mustCall(). Remove the common.mustCall() wrapper and add a
    comment explaining that it should not be added.
    
    Add a new test case that sets the timeout to 1ms and waits for both the
    connection handler and the timeout handler to be invoked. This version
    keeps the common.mustCall() wrapper intact around the connection handler
    (although it's mostly semantic and not necessary for the test as the
    test will certainly fail or time out if that handler isn't invoked).
    
    PR-URL: #14380
    Fixes: #11768
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    cc51087 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    199af21 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    cebce8b View commit details
    Browse the repository at this point in the history
  45. test: simplify test skipping

    * Make common.skip() exit.
    
      Also add common.printSkipMessage() for partial skips.
    
    * Don't make needless things before skip
    
    PR-URL: #14021
    Fixes: #14016
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    vsemozhetbyt committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    3e8bb76 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    bc0ba25 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    c805c8a View commit details
    Browse the repository at this point in the history