FluidFramework
FluidFramework copied to clipboard
fix(benchmark tests): Ensure "benchmark end" event is emitted even if an error is thrown by the runner
Description
Fixes AB#55270
One of my benchmark tests fails intermittently with the error runtime benchmarks Non-Compat completed with status 'failed' without reporting any data.
This indicates that the "benchmark end" event was never emitted. I added a try-catch to see if that fixes it.