Skip to content

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