Skip to content

Commit efd68a1

Browse files
committed
add comment
1 parent f4310cc commit efd68a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x/mongo/driver/integration/opmsg_deployment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ func (md *MockDeployment) ClearResponses() {
205205
}
206206

207207
// NewMockDeployment returns a mock driver.Deployment that responds with OP_MSG wire messages.
208+
// However, for most use cases, we suggest testing with an actual database.
208209
func NewMockDeployment(responses ...bson.D) *MockDeployment {
209210
return &MockDeployment{
210211
conn: &connection{

0 commit comments

Comments
 (0)