From 4bf0bd4130d342761f5e6e341fb95eaa0acb9899 Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Wed, 30 Oct 2024 11:26:39 -0600 Subject: [PATCH] fix unit test Signed-off-by: Florent Poinsard --- go/vt/mysqlctl/backup_blackbox_race_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/mysqlctl/backup_blackbox_race_test.go b/go/vt/mysqlctl/backup_blackbox_race_test.go index 5414ebc5fa6..1cbae4bd398 100644 --- a/go/vt/mysqlctl/backup_blackbox_race_test.go +++ b/go/vt/mysqlctl/backup_blackbox_race_test.go @@ -117,7 +117,7 @@ func TestExecuteBackupWithFailureOnLastFile(t *testing.T) { defer fakedb.Close() mysqld := mysqlctl.NewFakeMysqlDaemon(fakedb) defer mysqld.Close() - mysqld.ExpectedExecuteSuperQueryList = []string{"STOP REPLICA", "START REPLICA"} + mysqld.ExpectedExecuteSuperQueryList = []string{"STOP SLAVE", "START SLAVE"} // With this setup, 4 backup files will be created (0, 1, 2, 3). For the last file (3), we create // it in advance and remove all permission on the file so that the backup be.ExecuteBackup will not