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

GODRIVER-2075 Update "mtest.T.Get*Event()" documentation #1407

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

ramitmittal
Copy link
Contributor

GODRIVER-2075

Summary

Updated documentation for GetStartedEvent(), GetSucceededEvent(), and GetFailedEvent() helpers on the mtest.T.

Background & Motivation

The documentation for these helpers states that they return the "most recent" event, however the implementation actually returns the least recent event.
Existing tests depend on this behavior (see mongo/integration/database_test.go), therefore it is easier to change the documentation to reflect the same.

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

Thank you!

@blink1073 blink1073 merged commit d6ed7ca into mongodb:master Oct 3, 2023
34 of 38 checks passed
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.

2 participants