You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: cd plugins/node/opentelemetry-instrumentation-mongodb/
run: export RUN_MONGODB_TESTS=1
from another terminal, run cd plugins/node/opentelemetry-instrumentation-mongodb/examples and run: npm run docker:start. this will start mongodb docker.
run: npm run test
Expected Behavior
tests should run
Observed Behavior
tests doesn't run
Troubleshooting steps
[ V] still occurring when I run NODE_OPTIONS=--max-old-space-size=4096 nyc ts-mocha... instead of nyc ts-mocha...
The text was updated successfully, but these errors were encountered:
We have discovered the following :
For one of our projects, after an upgrade cycle, nyc suddenly started using 8GB which would crash our build pipeline. Investigation showed we had some unnecessary peerDependencies. We removed them and now nyc is running fast and efficient.
We think there must have been some circular dependency
Link to bug demonstration repository
https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main
steps to reproduce:
npm install --ignore-scripts
npx lerna bootstrap --no-ci --hoist --nohoist=‘zone.js’ --nohoist=‘mocha’ --nohoist=‘ts-mocha’
cd plugins/node/opentelemetry-instrumentation-mongodb/
export RUN_MONGODB_TESTS=1
cd plugins/node/opentelemetry-instrumentation-mongodb/examples
and run:npm run docker:start
. this will start mongodb docker.npm run test
Expected Behavior
tests should run
Observed Behavior
tests doesn't run
Troubleshooting steps
NODE_OPTIONS=--max-old-space-size=4096 nyc ts-mocha...
instead ofnyc ts-mocha...
The text was updated successfully, but these errors were encountered: