Skip to content

Recently-introduced breaking change (unintentional?) in process.uptime() #26205

@Trott

Description

@Trott

https://ci.nodejs.org/job/node-test-commit-custom-suites/879/default/console

test-rackspace-ubuntu1604-x64-1

00:09:47 not ok 95 pummel/test-process-uptime
00:09:47   ---
00:09:47   duration_ms: 0.214
00:09:47   severity: fail
00:09:47   exitcode: 1
00:09:47   stack: |-
00:09:47     107252.491
00:09:47     assert.js:351
00:09:47         throw err;
00:09:47         ^
00:09:47     
00:09:48     AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
00:09:48     
00:09:48       assert.ok(process.uptime() <= 2)
00:09:48     
00:09:48         at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-custom-suites/default/test/pummel/test-process-uptime.js:27:8)
00:09:48         at Module._compile (internal/modules/cjs/loader.js:746:30)
00:09:48         at Object.Module._extensions..js (internal/modules/cjs/loader.js:757:10)
00:09:48         at Module.load (internal/modules/cjs/loader.js:638:32)
00:09:48         at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
00:09:48         at Function.Module._load (internal/modules/cjs/loader.js:562:3)
00:09:48         at Function.Module.runMain (internal/modules/cjs/loader.js:809:12)
00:09:48         at internal/main/run_main_module.js:21:11
00:09:48   ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions