Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao committed Sep 2, 2021
1 parent 28e3a60 commit c621ad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions session/pessimistic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ func (s *testPessimisticSuite) SetUpSuite(c *C) {
// Set it to 300ms for testing lock resolve.
atomic.StoreUint64(&transaction.ManagedLockTTL, 300)
transaction.PrewriteMaxBackoff = 500
transaction.VeryLongMaxBackoff = 500
}

func (s *testPessimisticSuite) TearDownSuite(c *C) {
s.testSessionSuiteBase.TearDownSuite(c)
transaction.PrewriteMaxBackoff = 20000
transaction.VeryLongMaxBackoff = 600000
}

func (s *testPessimisticSuite) TestPessimisticTxn(c *C) {
Expand Down

0 comments on commit c621ad6

Please sign in to comment.