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

[uss_qualifier] Identify duplicate record_query calls #429

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

BenjaminPelletier
Copy link
Member

Currently, the only mechanism we have to ensure that a query isn't recorded in a test report more than once is correctness of all calling code. This PR introduces a loud warning message on the console if and when a query is recorded multiple times, but it stops short of aborting test execution. This should allow us to easily detect if this happens in the future. I don't believe it happens currently, though I have not performed an exhaustive search.

@BenjaminPelletier BenjaminPelletier marked this pull request as ready for review December 20, 2023 19:23
@BenjaminPelletier BenjaminPelletier merged commit 9f4abb5 into interuss:main Dec 21, 2023
9 checks passed
@BenjaminPelletier BenjaminPelletier deleted the duplicate-queries branch December 21, 2023 17:29
github-actions bot added a commit that referenced this pull request Dec 21, 2023
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