Skip to content

fix: add a mutex around reading logs from scaletests #7521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2023
Merged

Conversation

kylecarbs
Copy link
Member

Seen in a test flake

@kylecarbs kylecarbs requested a review from coadler May 14, 2023 16:56
@kylecarbs kylecarbs self-assigned this May 14, 2023

type syncBuffer struct {
buf *bytes.Buffer
mut *sync.Mutex
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, but the double ptr to the mutex is prob unnecessary since the outer struct is already a ptr

@kylecarbs kylecarbs merged commit 50f2d0c into main May 14, 2023
@kylecarbs kylecarbs deleted the synclogs branch May 14, 2023 17:16
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants