Skip to content

Conversation

@yeya24
Copy link
Contributor

@yeya24 yeya24 commented Apr 28, 2023

What this PR does:

This pr tries to disable parallel tests if thanos engine is enabled. We saw data race in our tests previously because we are also parallelize the initialization of the thanos query engine. However, the initialization is not thread safe.

So this pr I am trying to disable parallelization for it and also just removed thanos engine tests if possible in some tests, in order to make tests execution faster.

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]

Signed-off-by: Ben Ye <[email protected]>
@friedrichg friedrichg self-requested a review April 28, 2023 07:34
@friedrichg friedrichg merged commit 1b16ce3 into cortexproject:master Apr 28, 2023
yeya24 added a commit to yeya24/cortex that referenced this pull request Apr 28, 2023
)

* this pr disables parallel tests when thanos engine is enabled

Signed-off-by: Ben Ye <[email protected]>

* fix lint

Signed-off-by: Ben Ye <[email protected]>

---------

Signed-off-by: Ben Ye <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants