sitespeedio/sitespeed.io

Running tests in Chrome can result in a "Max Listeners Exceeded" warning.

Opened this issue · 0 comments

Have you read the documentation?

URL

https://<my_application>//home/_global//manage?sNav=all&$q=

What are you trying to accomplish

Just trying to measure the time it takes to finish re-drawing a page after a "create new workflow" dialog is submitted.

What browser did you use?

Chrome, Edge

How to reproduce

I am not exactly sure why this particular set of tests is causing me issues. I have other tests that are set up and executed in very similar ways and they do not give me this issue. 

But this test 
1. Navigate to a Workflow management page
2. Click the "New Workflow" button which opens a modal dialog
3. Fill out the form on the dialog 
4. Start measure
5. wait for page to finish re-drawing
6. measure stop

Log output

(node:41) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 Network.loadingFailed listeners added to [Chrome]. Use emitter.setMaxListeners() to increase limit
[2024-05-17 16:39:19] INFO: Idle time without any request/responses. Inflight requests:1
[2024-05-17 16:39:19] INFO: Navigating to url https://xxx/xxx/xxx/_xxxxx/workflow/manage?sNav=all&$q=SiteSpeed_Workflow_12394865234 iteration 4
(node:41) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 Network.requestWillBeSent listeners added to [Chrome]. Use emitter.setMaxListeners() to increase limit
(node:41) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 Network.loadingFinished listeners added to [Chrome]. Use emitter.setMaxListeners() to increase limit