test: make test-worker-prof more robust · nodejs/node@c3c6c4f · GitHub
Skip to content

Commit c3c6c4f

Browse files
joyeecheungruyadorno
authored andcommitted
test: make test-worker-prof more robust
Use a JS workload instead of repeating FS operations and use a timer to make it less flaky on machines with little resources. PR-URL: #49274 Refs: #26401 Refs: nodejs/reliability#640 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent e7285d4 commit c3c6c4f

1 file changed

Lines changed: 60 additions & 56 deletions

File tree

test/sequential/test-worker-prof.js

Lines changed: 60 additions & 56 deletions

0 commit comments

Comments
 (0)