Skip to content

Commit

Permalink
fix: source_host_to_target
Browse files Browse the repository at this point in the history
  • Loading branch information
newborn22 committed Dec 5, 2024
1 parent dbbcae6 commit 1dd2dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endtoend/branch/branch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func TestBranchBasicWithFailPoint(t *testing.T) {
defer targetClean()

// create branch
createCMD := getBranchCreateCMD(sourceCluster.MysqlHost, sourceCluster.MysqlPort, "root", "passwd", "*", "information_schema,mysql,performance_schema,sys")
createCMD := getBranchCreateCMD(sourceHostToTarget, sourceCluster.MysqlPort, "root", "passwd", "*", "information_schema,mysql,performance_schema,sys")
framework.EnableFailPoint(t, targetCluster.WescaleDb, "vitess.io/vitess/go/vt/vtgate/branch/BranchFetchSnapshotError", "return(true)")
framework.ExecWithErrorContains(t, targetCluster.WescaleDb, "failpoint", createCMD)
expectBranchStatus(t, "my_branch", "init")
Expand Down

0 comments on commit 1dd2dc0

Please sign in to comment.