Commit Graph

5 Commits

Author SHA1 Message Date
Joyee Cheung
83cd484d77
debugger: decrease timeout used to wait for the port to be free
By default, the debugger would query the specified inspector
sever port to see if it's available before starting the server,
and it would keep retrying until a timeout (previously 9999 ms)
is reached. This timeout seems to be longer than necessary. This
patch decreases the timeout to 3 seconds.

PR-URL: https://github.com/nodejs/node/pull/44359
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Richard Lau <rlau@redhat.com>
2022-08-24 13:52:54 +00:00
gdccwxx
24f045dae2 test: replace .then chains with await
PR-URL: https://github.com/nodejs/node/pull/40348
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-10-09 17:22:39 +00:00
gdccwxx
5b4ba52786 test: fix "test/common/debugger" identify async function
PR-URL: https://github.com/nodejs/node/pull/40348
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-10-09 17:22:38 +00:00
Rich Trott
ff975fe1c6 test: remove debugger workaround for AIX
Optimistically removing workaround code in the debugger test tool.

PR-URL: https://github.com/nodejs/node/pull/39296
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
2021-07-09 08:28:20 -07:00
Rich Trott
bed947b854
debugger: rename inspector-cli test module to debugger
PR-URL: https://github.com/nodejs/node/pull/38530
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-05-06 10:19:50 -07:00