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

Improve safety of stats retrieval from queue #13942

Merged
merged 1 commit into from Mar 29, 2022

Conversation

robbavey
Copy link
Member

This commit guards against reading a value from a stat that may not be
populated before an attempt is made to retrieve its value, potentially causing
a undefined method []' for nil:NilClass`.

Release notes

[rn:skip]

What does this PR do?

This has resulted in some flaky tests lately, which should be fixed with this change

This commit guards against reading a value from a stat that may not be
populated before an attempt is made to retrieve its value, potentially causing
a `undefined method `[]' for nil:NilClass`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants