mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
- Create new ctxLogProviders for each scenario to support go test -count=n for n>1. Currently, it just kept adding providers for every new run, which would make it add way more key-value pairs to the provider than necessary. - Adding a helper method to the scenario to make it easier to set up tests for logging and easier to read the tests. I also flattened the test file, to reduce the complexity of each test function.