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 test flakes #65

Merged
merged 2 commits into from
Feb 6, 2025
Merged

Fix test flakes #65

merged 2 commits into from
Feb 6, 2025

Conversation

smudge
Copy link
Member

@smudge smudge commented Feb 3, 2025

It seems that the order of 'control' and 'treatment' in the returned list is not guaranteed. While we could enforce an order, clients should not assume an order. This updates the tests to match on split name when checking weights.

/no-platform

… not order-guaranteed, and we should not assume an order. Instead, we can match on the name, as all clients should.
@smudge smudge requested review from SirNeuman and a team February 3, 2025 21:34
Copy link
Contributor

@SirNeuman SirNeuman left a comment

Choose a reason for hiding this comment

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

domain lgtm

Copy link
Member

@samandmoore samandmoore left a comment

Choose a reason for hiding this comment

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

domainlgtm platformlgtm

We've had to fix a few others like this. Good find.

@smudge smudge merged commit 3fc51c2 into Betterment:main Feb 6, 2025
2 checks passed
@smudge smudge deleted the fix-test-flake branch February 6, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants