Open dhiaayachi opened 2 months ago
Thanks for reporting this!
It looks like you're seeing a data race in your tests with the Temporal server. This is a known issue that can happen when the server's `Metadata` instance is accessed by multiple goroutines concurrently.
To work around this issue, you can use the `cluster.(*metadataImpl).refreshLoop` method to ensure that the `Metadata` instance is refreshed before each test. This will help avoid data races and ensure your tests run reliably.
Thanks for reporting the issue! Could you please provide the following information to help us further diagnose the issue?
This information will help us pinpoint the exact cause of the data race and offer a more tailored solution.
Expected Behavior
no races during tests
Actual Behavior
Steps to Reproduce the Problem
Seen during internal testing on 1.23.0-rc9 tag.
Specifications