google / pprof-nodejs

pprof support for Node.js
Apache License 2.0
251 stars 26 forks source link

test: fix system test failure in node 18 #214

Closed amchiclet closed 2 years ago

amchiclet commented 2 years ago

The system tests builds the source from a mounted volume in docker.

Somehow this is causing issues with node 18 which is likely related to permissions/ownership of users outside vs inside the docker container.

This PR clones (cp -r) the source to a fresh directory that is owned by the user inside the docker container before testing.

Also added docker image for node 18 alpine that also used in system test.