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

91/CI performance assert fix #98

Merged
merged 2 commits into from
Sep 21, 2020
Merged

Conversation

MichaelMcAleer
Copy link
Contributor

The pull request addresses a scenario in certain performance calls where response code 200 is returned even when there are no results returned. This leads to failed tests because CI base functions will look at response codes to determine if a call was successful.

This fix adds a check in the base function for performance asserts that will check if a key list is empty before continuing, if it is empty the test will skip in the same fashion as those categories which return status code for no results.

Copy link
Contributor

@odonos12 odonos12 left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Contributor

@helenwalsh helenwalsh left a comment

Choose a reason for hiding this comment

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

Approving as CI and unit tests are clean. Thanks

@MichaelMcAleer MichaelMcAleer merged commit 05917c2 into master Sep 21, 2020
@MichaelMcAleer MichaelMcAleer deleted the 91/ci_performance_assert_fix branch September 21, 2020 11:05
rawstorage pushed a commit that referenced this pull request Aug 12, 2022
rawstorage pushed a commit that referenced this pull request Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants