*: run a bootstrap session before store is ready (#2481)

This commit is contained in:
tiancaiamao
2017-01-17 14:46:35 +08:00
committed by Han Fei
parent e79a460a28
commit e1ecc1059e
18 changed files with 158 additions and 95 deletions

View File

@ -65,6 +65,8 @@ func (s *testSuite) SetUpSuite(c *C) {
c.Assert(err, IsNil)
s.store = store
}
err := tidb.BootstrapSession(s.store)
c.Assert(err, IsNil)
logLevel := os.Getenv("log_level")
log.SetLevelByString(logLevel)
executor.BaseLookupTableTaskSize = 2