Skip to content
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

Enable -race when running tests. Fixed couple of race errors. #1283

Closed
wants to merge 3 commits into from

Conversation

pstibrany
Copy link
Member

Fixed couple of reported errors when running tests with -race option.

There are few more remaining.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
@pstibrany pstibrany changed the title Fixed couple of race errors. Enable -race when running tests. Fixed couple of race errors. Nov 19, 2019
@pstibrany
Copy link
Member Author

If races in promtail are fixed, then there is still race in some new ingester tests. @rfratto would you please take a look?

@JensErat JensErat mentioned this pull request Nov 20, 2019
2 tasks
TestChunkFlushingIdle needed sleep time lengthened to deal with extra
time it takes to execute code with the race checker enabled.
@rfratto
Copy link
Member

rfratto commented Nov 22, 2019

@pstibrany I fixed the test errors in the ingester.

@pstibrany
Copy link
Member Author

Wonderful, thanks a lot @rfratto!

@slim-bean
Copy link
Collaborator

working on the fix for the tail lib, and I have a fix for the other promtail test

@stale
Copy link

stale bot commented Jan 11, 2020

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Jan 11, 2020
@slim-bean
Copy link
Collaborator

slim-bean commented Jan 13, 2020 via email

@stale stale bot removed the stale A stale issue or PR that will automatically be closed. label Jan 13, 2020
@stale
Copy link

stale bot commented Feb 12, 2020

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Feb 12, 2020
@stale stale bot closed this Feb 19, 2020
@JStickler JStickler deleted the race-errors branch May 22, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale A stale issue or PR that will automatically be closed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants