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

e2e: fix compactor test #6896

Merged
merged 1 commit into from
Nov 15, 2023
Merged

e2e: fix compactor test #6896

merged 1 commit into from
Nov 15, 2023

Conversation

GiedriusS
Copy link
Member

Spotted some randomness in the compactor test -
thanos_blocks_meta_synced includes cached blocks. Depending on luck, Store might or might not see those blocks leading to inconsistent results. Thus, only check the loaded metas count because that's what matters.

Spotted some randomness in the compactor test -
`thanos_blocks_meta_synced` includes cached blocks. Depending on luck,
Store might or might not see those blocks leading to inconsistent
results. Thus, only check the loaded metas count because that's what
matters.

Signed-off-by: Giedrius Statkevičius <[email protected]>
Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

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

Thanks for fixing, this has been flaky for a while!

@GiedriusS GiedriusS enabled auto-merge (squash) November 15, 2023 10:24
@GiedriusS GiedriusS merged commit ecb8bb8 into main Nov 15, 2023
16 checks passed
@GiedriusS GiedriusS deleted the fix_e2e_compact_test branch November 15, 2023 10:41
douglascamata pushed a commit to douglascamata/thanos that referenced this pull request Dec 13, 2023
Spotted some randomness in the compactor test -
`thanos_blocks_meta_synced` includes cached blocks. Depending on luck,
Store might or might not see those blocks leading to inconsistent
results. Thus, only check the loaded metas count because that's what
matters.

Signed-off-by: Giedrius Statkevičius <[email protected]>
douglascamata pushed a commit to douglascamata/thanos that referenced this pull request Dec 13, 2023
Spotted some randomness in the compactor test -
`thanos_blocks_meta_synced` includes cached blocks. Depending on luck,
Store might or might not see those blocks leading to inconsistent
results. Thus, only check the loaded metas count because that's what
matters.

Signed-off-by: Giedrius Statkevičius <[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