fixes the MetricsHookTest by using MeterProvider.ForceFlush() rather than waiting for periodic flush to happen
Notes
The test in question would fail occasionally. This refactor will hopefully make them more stable, as there is the need to wait for an async process to complete has been removed.
This PR
MetricsHookTest
by usingMeterProvider.ForceFlush()
rather than waiting for periodic flush to happenNotes
The test in question would fail occasionally. This refactor will hopefully make them more stable, as there is the need to wait for an async process to complete has been removed.