Skip to content

livestore: fix test logger data race#5772

Merged
carles-grafana merged 1 commit intografana:mainfrom
carles-grafana:test_logger_livestore_race
Oct 20, 2025
Merged

livestore: fix test logger data race#5772
carles-grafana merged 1 commit intografana:mainfrom
carles-grafana:test_logger_livestore_race

Conversation

@carles-grafana
Copy link
Copy Markdown
Contributor

@carles-grafana carles-grafana commented Oct 20, 2025

What this PR does:

I'm seeing more data races in tests that do not use the common test logger that avoids logging after the test has shut down.
Use the protected logger instead.

data race: https://github.com/grafana/tempo/actions/runs/18648340772/job/53160296368?pr=5762

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@carles-grafana carles-grafana merged commit b1b6c01 into grafana:main Oct 20, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants