From af4cab2a815d95cf1ee9f4f100a899e3cd851df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E5=B2=9A?= <36239017+YuJuncen@users.noreply.github.com> Date: Thu, 25 Apr 2024 17:49:59 +0800 Subject: [PATCH] Update br/pkg/backup/prepare_snap/prepare.go Co-authored-by: BornChanger <97348524+BornChanger@users.noreply.github.com> --- br/pkg/backup/prepare_snap/prepare.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/pkg/backup/prepare_snap/prepare.go b/br/pkg/backup/prepare_snap/prepare.go index 227f36704b298..2435fb4986bdc 100644 --- a/br/pkg/backup/prepare_snap/prepare.go +++ b/br/pkg/backup/prepare_snap/prepare.go @@ -455,7 +455,7 @@ func (p *Preparer) pushWaitApply(reqs pendingRequests, region Region) { // This will pause the admin commands for each store. func (p *Preparer) PrepareConnections(ctx context.Context) error { failpoint.Inject("PrepareConnectionsErr", func() { - failpoint.Return(errors.New("meow meow meow")) + failpoint.Return(errors.New("mock PrepareConnectionsErr")) }) log.Info("Preparing connections to stores.") stores, err := p.env.GetAllLiveStores(ctx)