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

BFD-3563: Regression Suite PAC hashed MBIs query is returning no data resulting in failing tests #2407

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions apps/utils/locust_tests/common/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ def get_regression_pac_hashed_mbis(uri: str) -> List[str]:
list[str]: A list of MBI hashes
"""
claims_mbis_query = (
"select distinct m.hash from rda.claim_message_meta_data c left join rda.mbi_cache m on"
" c.mbi_id=m.mbi_id where c.sequence_number < 0 and (claim_type='M' or claim_type='F')"
f" limit {LIMIT}"
r"select hash from rda.mbi_cache where regexp_like(mbi, '\dS.+') order by hash limit 300"
)
return [str(r[0]) for r in _execute(uri, claims_mbis_query)]

Expand Down