0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Julien Gilli 8e60b4523c tests: add test for non-integer delay timers.
PR #8034 came with a test to make sure that timers expiry is based on
monotonic time and not on wall-clock time. However, a bug in the
implementation broke timers with non-integer delays. A fix for this
issue was provided with PR #8073, but it didn't come with a test.

Because #8073 fixed a subtle issue that could reappear in the future,
and because the impact of such an issue would be significant, I suggest
adding this test.

The test would timeout after 1 minute if the issue was reproduced.
Otherwise it will run very quickly.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
2014-09-02 22:22:57 +04:00
..
addons test: modify async native test.js to test for #4820 2013-02-21 13:14:07 -08:00
disabled Merge remote-tracking branch 'ry/v0.8' into master 2013-02-18 10:21:08 -08:00
fixtures test: fix test-tls-server-verify 2014-07-23 23:51:14 +04:00
gc
internet test: move two tests from simple/ to internet/ 2013-07-20 12:36:33 +02:00
message lib: name EventEmitter prototype methods 2014-05-07 12:11:57 -07:00
pummel fs: make unwatchFile() insensitive to path 2014-02-06 13:04:35 +04:00
simple tests: add test for non-integer delay timers. 2014-09-02 22:22:57 +04:00
timers timers: backport f8193ab 2014-07-31 08:53:24 -07:00
common.js timers: backport f8193ab 2014-07-31 08:53:24 -07:00