File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -569,7 +569,7 @@ func (t *T) SetFailPoint(fp FailPoint) {
569
569
}
570
570
}
571
571
572
- if err := SetFailPoint (fp , t .Client ); err != nil {
572
+ if err := SetFailPoint (fp , t .fpClient ); err != nil {
573
573
t .Fatal (err )
574
574
}
575
575
t .failPointNames = append (t .failPointNames , fp .ConfigureFailPoint )
@@ -580,7 +580,7 @@ func (t *T) SetFailPoint(fp FailPoint) {
580
580
// the failpoint will appear in command monitoring channels. The fail point will be automatically disabled after this
581
581
// test has run.
582
582
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 {
584
584
t .Fatal (err )
585
585
}
586
586
@@ -596,7 +596,7 @@ func (t *T) TrackFailPoint(fpName string) {
596
596
597
597
// ClearFailPoints disables all previously set failpoints for this test.
598
598
func (t * T ) ClearFailPoints () {
599
- db := t .Client .Database ("admin" )
599
+ db := t .fpClient .Database ("admin" )
600
600
for _ , fp := range t .failPointNames {
601
601
cmd := bson.D {
602
602
{"configureFailPoint" , fp },
You can’t perform that action at this time.
0 commit comments