Skip to content

Commit 0b1d0ad

Browse files
committed
updates
1 parent 6ee9a2c commit 0b1d0ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mongo/integration/mtest/mongotest.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ func (t *T) SetFailPoint(fp FailPoint) {
569569
}
570570
}
571571

572-
if err := SetFailPoint(fp, t.Client); err != nil {
572+
if err := SetFailPoint(fp, t.fpClient); err != nil {
573573
t.Fatal(err)
574574
}
575575
t.failPointNames = append(t.failPointNames, fp.ConfigureFailPoint)
@@ -580,7 +580,7 @@ func (t *T) SetFailPoint(fp FailPoint) {
580580
// the failpoint will appear in command monitoring channels. The fail point will be automatically disabled after this
581581
// test has run.
582582
func (t *T) SetFailPointFromDocument(fp bson.Raw) {
583-
if err := SetRawFailPoint(fp, t.Client); err != nil {
583+
if err := SetRawFailPoint(fp, t.fpClient); err != nil {
584584
t.Fatal(err)
585585
}
586586

@@ -596,7 +596,7 @@ func (t *T) TrackFailPoint(fpName string) {
596596

597597
// ClearFailPoints disables all previously set failpoints for this test.
598598
func (t *T) ClearFailPoints() {
599-
db := t.Client.Database("admin")
599+
db := t.fpClient.Database("admin")
600600
for _, fp := range t.failPointNames {
601601
cmd := bson.D{
602602
{"configureFailPoint", fp},

0 commit comments

Comments
 (0)