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

[CHORE] Fix flaky test in test_decimal_to_decimal_cast #3243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

advancedxy
Copy link
Contributor

I noticed this failure on another PR's CI run: https://github.com/Eventual-Inc/Daft/actions/runs/11715735385/job/32632612788?pr=3134

This is a flaky test and should be fixed.

@github-actions github-actions bot added the chore label Nov 7, 2024
Copy link

codspeed-hq bot commented Nov 7, 2024

CodSpeed Performance Report

Merging #3243 will not alter performance

Comparing advancedxy:fix_flaky_test (7cf339b) with main (baca61e)

Summary

✅ 17 untouched benchmarks

@@ -2352,6 +2352,9 @@ mod tests {

let scale: usize = rng.gen_range(0..=MAX_SCALE);
Copy link
Member

Choose a reason for hiding this comment

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

would it simpler to set the lower bound for scale to 1 instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I considered that too. I think 0 is a valid scale, thus I prefer to include that in the test.

WDYT? I'm OK to set the lower bound to 1.

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