Skip to content

Commit

Permalink
unit_test: fix concurrency test cause etcd race (#4830)
Browse files Browse the repository at this point in the history
ref #4159
  • Loading branch information
GMHDBJD authored Mar 10, 2022
1 parent 19a1fcf commit 8135e92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dm/dm/master/shardddl/optimist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ func (t *testOptimist) TestBuildLockJoinedAndTable(c *C) {
var (
logger = log.L()
o = NewOptimist(&logger, getDownstreamMeta)
task = "task"
task = "task-build-lock-joined-and-table"
source1 = "mysql-replica-1"
source2 = "mysql-replica-2"
downSchema = "db"
Expand Down Expand Up @@ -1141,7 +1141,7 @@ func (t *testOptimist) TestBuildLockWithInitSchema(c *C) {
var (
logger = log.L()
o = NewOptimist(&logger, getDownstreamMeta)
task = "task"
task = "task-lock-with-init-schema"
source1 = "mysql-replica-1"
source2 = "mysql-replica-2"
downSchema = "db"
Expand Down

0 comments on commit 8135e92

Please sign in to comment.