Skip to content

Conversation

mmcclimon
Copy link
Contributor

Summary

This makes it slightly easier for downstream users to check for this error specifically.

Background & Motivation

We currently have a custom implementation of MockDeployment that was more-or-less copied from the v1 Go driver. I would like to replace that with the new-in-v2 drivertest package, and having this be a named error instead of an anonymous one would make some of our downstream code a bit easier to write.

@mmcclimon mmcclimon requested a review from a team as a code owner June 26, 2025 16:00
@mmcclimon mmcclimon requested a review from matthewdale June 26, 2025 16:00
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the review-priority-low Low Priority PR for Review: within 3 business days label Jun 26, 2025
Copy link
Contributor

API Change Report

./v2/x/mongo/driver/drivertest

compatible changes

ErrNoResponsesRemaining: added

@mmcclimon mmcclimon force-pushed the drivertest-named-error branch from c81b372 to 1154581 Compare June 26, 2025 17:11
This makes it slightly easier for downstream users to check for this error specifically.
@mmcclimon mmcclimon force-pushed the drivertest-named-error branch from 1154581 to e20ed46 Compare June 26, 2025 17:21
Copy link
Collaborator

@matthewdale matthewdale left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

@matthewdale matthewdale merged commit 33b7c6e into mongodb:master Jun 27, 2025
30 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-priority-low Low Priority PR for Review: within 3 business days

2 participants