Skip to content

test: increase timeout in break-on-uncaught

As the failures suggest, this test expects the uncaught exception to be thrown within 100 milliseconds, but on some of the test machines it takes longer than that limit to notify the exception. Thats why the test was failing.

This patch increases the timeout to three seconds, with platform specific timeout value.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test


Refer: https://github.com/nodejs/node/pull/10456

Merge request reports

Loading