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

Buggy test_member_export test #3361

Open
CocoByte opened this issue Jan 17, 2025 · 0 comments
Open

Buggy test_member_export test #3361

CocoByte opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something that isn't working as intended dev issue is for the dev team

Comments

@CocoByte
Copy link
Contributor

CocoByte commented Jan 17, 2025

Current Behavior

This test_member_export test (in test_reports.py under MemberExportTest) is known to randomly fail when pushed to a PR (even if it passes in a local branch).

NOTE: currently, there is no screenshot of the error message that occurs when this test fails. However, when the next failure occurs this ticket will be updated with a screenshot.

Expected Behavior

Fix the unit test so it is more stable. We want it to check the member exports function and only fail if something broke in the member exports (not fail randomly).

TIPS: Current ideas for the bugginess suggest that sorts on the exported fields might be part of the cause. Check for randomly sorted data and remove any randomness.

Steps to Reproduce

  1. Try creating a draft PR and pushing random code changes to it until the test breaks. (You can also check other PRs to see if it is failing in those)

Environment

No response

Additional Context

No response

Issue Links

No response

@CocoByte CocoByte added the bug Something that isn't working as intended label Jan 17, 2025
@lizpearl lizpearl added the dev issue is for the dev team label Jan 17, 2025
@lizpearl lizpearl moved this from 👶 New to 🍦 Backlog in .gov Product Board Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working as intended dev issue is for the dev team
Projects
Status: 🍦 Backlog
Development

No branches or pull requests

2 participants