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

Fix flaky TestQueryManagerConfig #24693

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

Pluies
Copy link
Contributor

@Pluies Pluies commented Jan 13, 2025

Description

Fix flaky test in TestQueryManagerConfig

Additional context and related issues

This test relies on rounding large integers and will sometimes fail depending on the amount of memory available to the test runner.

This commit reuses the exact same calculation for tests as it does in the code, so that we will always get the correct value for the default.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

This test relies on rounding large integers and will sometimes fail
depending on the amount of memory available to the test runner.

This commit reuses the exact same calculation for tests as it does in
the code, so that we will always get the correct value for the default.
@cla-bot cla-bot bot added the cla-signed label Jan 13, 2025
@Pluies Pluies requested a review from losipiuk January 13, 2025 08:22
@losipiuk
Copy link
Member

thanks

@losipiuk losipiuk merged commit fa8f143 into trinodb:master Jan 13, 2025
85 of 93 checks passed
@github-actions github-actions bot added this to the 469 milestone Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants