0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/test
Julien Gilli 1453b872ae test: add test-domain-exit-dispose-again back
1c85849973 "fixed"
test-domain-exit-dispose-again by changing its logic to test that
process.domain was cleared properly in case an error was thrown from a
timer's callback.

However, it became clear when reviewing a recent change that refactors
lib/timers.js that it was not quite the intention of the original test.
Thus, this change adds the original implementation of
test-domain-exit-dispose-again back, with comments that make its
implementation easier to understand.

It also preserve the changes made by
1c85849973, but it moves them to a new
test file named test-timers-reset-process-domain-on-throw.js.

PR: #4256
PR-URL: https://github.com/nodejs/node/pull/4256
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2016-01-04 16:41:56 -08:00
..
abort
addons test: remove unused modules 2016-01-01 16:37:02 -08:00
cctest
debugger debugger: introduce exec method for debugger 2015-11-17 12:11:40 -08:00
disabled
fixtures repl: Fixed node repl history edge case. 2015-12-22 13:29:28 -05:00
gc test: fix race condition in test-http-client-onerror 2015-12-30 11:47:51 -08:00
internet test: remove unused modules 2016-01-01 16:37:02 -08:00
message test: remove unused modules 2016-01-01 16:37:02 -08:00
parallel test: add test-domain-exit-dispose-again back 2016-01-04 16:41:56 -08:00
pummel test: remove unused modules 2016-01-01 16:37:02 -08:00
sequential test: remove unused modules 2016-01-01 16:37:02 -08:00
testpy
timers test: remove unnecessary assignments 2015-12-26 18:00:02 -08:00
.eslintrc
common.js test: make temp path customizable 2015-12-30 15:47:37 +11:00