Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao committed Aug 25, 2021
1 parent 2d6570c commit 694389d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions session/pessimistic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,11 @@ 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 694389d

Please sign in to comment.