test: remove time check
authorRich Trott <rtrott@gmail.com>
Thu, 31 Dec 2015 04:13:15 +0000 (20:13 -0800)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:35 +0000 (11:52 -0800)
commit7dc90e9e7f215dcafb4c241c3cbfec8bd4d0b99a
tree2f9d8238146113929a03beb28a08bc25b3ccb46a
parent7ca3c6c388fb342c499846c9d5a1f8af1c7244d3
test: remove time check

test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: https://github.com/nodejs/node/pull/4476
PR-URL: https://github.com/nodejs/node/pull/4494
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
test/parallel/test-child-process-fork-net2.js