We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee57f35 commit 0fd670eCopy full SHA for 0fd670e
mongo/integration/mtest/mongotest.go
@@ -597,6 +597,12 @@ func (t *T) ClearFailPoints() {
597
if err != nil {
598
t.Fatalf("error creating client: %v", err)
599
}
600
+ if err = client.Connect(context.Background()); err != nil {
601
+ t.Fatalf("error connecting client: %v", err)
602
+ }
603
+ defer func() {
604
+ _ = client.Disconnect(context.Background())
605
+ }()
606
607
db := client.Database("admin")
608
for _, fp := range t.failPointNames {
0 commit comments