Skip to content

Commit a4e53f6

Browse files
alivxxxzz-jason
authored andcommitted
bindinfo: fix unstable test (pingcap#10949)
1 parent 7a6777d commit a4e53f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindinfo/bind_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ func (s *testSuite) SetUpSuite(c *C) {
7575
session.SetSchemaLease(0)
7676
session.DisableStats4Test()
7777
}
78+
bindinfo.Lease = 0
7879
d, err := session.BootstrapSession(s.store)
7980
c.Assert(err, IsNil)
8081
d.SetStatsUpdating(true)

0 commit comments

Comments
 (0)