Skip to content

Commit

Permalink
Update x/mongo/driver/topology/topology_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Dale <9760375+matthewdale@users.noreply.github.com>
  • Loading branch information
prestonvasquez and matthewdale committed May 1, 2024
1 parent 755204f commit 8e26315
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/mongo/driver/topology/topology_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ func TestServerSelection(t *testing.T) {
var selectNone description.ServerSelectorFunc = func(description.Topology, []description.Server) ([]description.Server, error) {
return []description.Server{}, nil
}
//var errSelectionError = errors.New("encountered an error in the selector")
//var selectError description.ServerSelectorFunc = func(description.Topology, []description.Server) ([]description.Server, error) {
// return nil, errSelectionError
//}

t.Run("Success", func(t *testing.T) {
topo, err := New(nil)
Expand Down

0 comments on commit 8e26315

Please sign in to comment.