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

ref: use a better hashing algorithm for test bucketing #88914

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

asottile-sentry
Copy link
Member

No description provided.

@asottile-sentry asottile-sentry requested a review from a team April 7, 2025 15:08
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 7, 2025
Copy link

codecov bot commented Apr 7, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
24964 1 24963 299
View the top 1 failed test(s) by shortest run time
tests.sentry.utils.mockdata.test_core.TestMockData::test_main_default_setup
Stack Traces | 98.3s run time
#x1B[1m#x1B[.../utils/mockdata/test_core.py#x1B[0m:80: in test_main_default_setup
    assert Environment.objects.count() == 6, "Should environments"
#x1B[1m#x1B[31mE   AssertionError: Should environments#x1B[0m
#x1B[1m#x1B[31mE   assert 8 == 6#x1B[0m
#x1B[1m#x1B[31mE    +  where 8 = <bound method QuerySet.count of <sentry.db.models.manager.base.BaseManager object at 0x7f983dd28ec0>>()#x1B[0m
#x1B[1m#x1B[31mE    +    where <bound method QuerySet.count of <sentry.db.models.manager.base.BaseManager object at 0x7f983dd28ec0>> = <sentry.db.models.manager.base.BaseManager object at 0x7f983dd28ec0>.count#x1B[0m
#x1B[1m#x1B[31mE    +      where <sentry.db.models.manager.base.BaseManager object at 0x7f983dd28ec0> = Environment.objects#x1B[0m

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@asottile-sentry asottile-sentry enabled auto-merge (squash) April 8, 2025 16:07
@asottile-sentry asottile-sentry merged commit ac76819 into master Apr 8, 2025
48 checks passed
@asottile-sentry asottile-sentry deleted the asottile-sha256 branch April 8, 2025 16:26
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
Christinarlong pushed a commit that referenced this pull request Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants