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
Sorry but it's one of these "non reproductible", "not everytime" bug.
After some digging, it appears that in my karma run, this plugin stop with no logs exactly at the point of writing the XML file https://github.com/karma-runner/karma-junit-reporter/blob/master/index.js#L88. I put logs and try/catch approximatively everywhere in the plugin. Nothing seems wrong, the normal way of exiting works (onExit done callback stored to be called after writing the XML) but never finish as I never enter the write callback.
It only fails about 1 time on 2 and only on the integration server with Debian. It never failed on my laptop.
Sorry but it's one of these "non reproductible", "not everytime" bug.
After some digging, it appears that in my karma run, this plugin stop with no logs exactly at the point of writing the XML file https://github.com/karma-runner/karma-junit-reporter/blob/master/index.js#L88. I put logs and try/catch approximatively everywhere in the plugin. Nothing seems wrong, the normal way of exiting works (onExit done callback stored to be called after writing the XML) but never finish as I never enter the write callback.
It only fails about 1 time on 2 and only on the integration server with Debian. It never failed on my laptop.
As a workaround, I tried a patch switching the write file for a synchronous one and it do the job.
https://github.com/Swiip/karma-junit-reporter/tree/write-sync
Any idea is welcome.
The text was updated successfully, but these errors were encountered: