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
ROS
callOnConnection
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at EventEmitter.on (/home/jihoonl/research/node/roslibjs/node_modules/eventemitter2/lib/eventemitter2.js:391:19)
at Context.<anonymous> (/home/jihoonl/research/node/roslibjs/test/ros.test.js:14:22)
at callFn (/home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runnable.js:223:21)
at Test.Runnable.run (/home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runnable.js:216:7)
at Runner.runTest (/home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runner.js:374:10)
at /home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runner.js:452:12
at next (/home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runner.js:299:14)
at /home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runner.js:309:7
at next (/home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runner.js:247:23)
at Object._onImmediate (/home/jihoonl/research/node/roslibjs/node_modules/grunt-mocha-test/node_modules/mocha/lib/runner.js:276:5)
at processImmediate [as _immediateCallback] (timers.js:330:15)
✓ should accept more than EventEmitter2's default listeners
The text was updated successfully, but these errors were encountered:
The test subscribes 50 times and the warning triggers at 11. The warning is expected given what the test is doing. The fix for the test is to silence console output.
Warning while mochatest.
The text was updated successfully, but these errors were encountered: