diff options
author | Rich Trott <rtrott@gmail.com> | 2019-01-27 16:16:57 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-01-29 18:36:04 -0800 |
commit | b8977045f209c0de2d4d0333d098acd1823ded63 (patch) | |
tree | 1e9c34c00c4bb63b139fb586433be60d229fecc4 /src/env.h | |
parent | 8e6667f4d5e29f67a3c423935ac852967d7cad78 (diff) | |
download | android-node-v8-b8977045f209c0de2d4d0333d098acd1823ded63.tar.gz android-node-v8-b8977045f209c0de2d4d0333d098acd1823ded63.tar.bz2 android-node-v8-b8977045f209c0de2d4d0333d098acd1823ded63.zip |
test: refactor test-http-client-timeout-option-with-agent
* Switch from Date.now() to process.hrtime.bigint().
* Move start time recording to before the request is created, not after.
Fixes: https://github.com/nodejs/node/issues/25746
PR-URL: https://github.com/nodejs/node/pull/25752
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/env.h')
0 files changed, 0 insertions, 0 deletions